#Can't get script to pick up on fired event
1 messages · Page 1 of 1 (latest)
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
What? my leaderstats is working. I need my script in leaderstats to pick up on a fired event
@flint leaf
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
Use modules.
"the event is working"
... the event "working":
: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.
I’d just grown accustomed to a few baseline assumptions- I feel a bit dumb for looking over something like that
How can I get that to call on the module script though?