#Why doesnt local script receive remote events after the player dies?

1 messages · Page 1 of 1 (latest)

deft gale
#

1st image is local script, 2nd image is whats firing

scenic storm
deft gale
#

another note, if i move the character added funtion to a remote event that receives a lot then it does fire when the player respawns to the right local script but i cant have it there cuz of data leak stuff

#

so i moved the local script that worked into the same spot where this local script is and it didnt work

#

so where the local script is is the the problem

#

i have no idea how to fix that

scenic storm
#

i am sure, either the script is yielding too much before CharacterAdded is fired or the Remote Event is fired in a local script that is under the StarterCharacterScripts

#

also you can manage the player stats server side so you don't need to fire the client

#

note if the player's Character spawns before the player.CharacterAdded is connected it won't run

deft gale
scenic storm
#

huh

#

character spawns regardless

#

player.CharacterAdded is a connection you can use to run code when the character is added to the game (joins/respawns)

deft gale
#

thx for ur help

#

it works now