#Can't get script to pick up on fired event

1 messages · Page 1 of 1 (latest)

humble trout
#

you create a folder called leaderstats and try to find a folder named LeaderStats

#

so when you try to find leaderstats it always comes up nil because it can’t find LeaderStats

#

this thus fails your if statement since nil is false and it ends the function

amber sleet
#

@flint leaf

humble trout
#

I’m saying your event is working, check your case sensitivity at the first line of your event function

#

it’s coming up nil because LeaderStats doesn’t exist

flint leaf
#

Use modules.

weak sail
#

:FireClient will not trigger a different server script to run. you're probably thinking of bindable events, not remote events.

#

OnClientEvent does not do anything on the server either.

humble trout
amber sleet