#Scripting Help

52 messages · Page 1 of 1 (latest)

dark flume
#

Making a battlegrounds game

lyric cape
#

Original message deleted

dark flume
lyric cape
#

That sucks

dark flume
dark flume
lyric cape
#

Only one of them as far as I know

#

But describe your issue first

dark flume
#

it wont punch

#

like

lyric cape
#

Do some debugging then

dark flume
#

when i click it doesnt use m1

lyric cape
#

Yeah

#

Too broad

dark flume
#

@lyric cape

lyric cape
#

Leaderstats is not a valid member of the player or character

dark flume
#

player

lyric cape
#

Yeah

#

So it's missing leaderstats

#

Wait for leaderstats to be created then

dark flume
#

idk how to make that im brain dead

#

im using a yt tut

lyric cape
#

😭

dark flume
#

same errorr

lyric cape
#

I don't see leaderstats being indexed anywhere in the code

dark flume
#

neither do i

#

so wad do i do

lyric cape
#

You use WaitForChild for the leaderstats

dark flume
#

HEY LEADERSTATS WAIT FOR MY CHILD

#

best scripter

#

🤫

lyric cape
#

player:WaitForChild("leaderstats") something like so

dark flume
#

i dont know how to script

#

so i js copy that before the end?

lyric cape
dark flume
#

in combathandler?

lyric cape
#

Can't you just ask AI

dark flume
#

i tried

#

its brain dead too

#

!

#

: )

lyric cape
#

Just give it the error and the code where it errored

dark flume
#

i tried

#

it didnt fix it

#

so what i do now?

#

@lyric cape

winged knoll
#

@lyric cape He needs ur help bro

desert pivot
#

Yeah man he needs you

lyric cape
#

I gave up sad