Hey there! I made a script where a jumpscare would fire when a remote event is fired. Once it is completed I want to send another remote event. However if I do it when the death is fired the thing which happens when the remote event is fired doesnt work becuase the player is not loaded. So is there a way I could check if the player is added after the jumpscare. Thanks! ( The characted added at the bottom of the script doesnt work)
The CharacterAdded event fires whenever the player respawns. If you’re trying to fire the CompletedJumpScareServer event after the jumpscare animation has completed, you don’t need to wait for the CharacterAdded event.
Instead, you can fire the CompletedJumpScareServer event right after the jumpscare animation has completed and the script’s parent visibility is set to false.
This should make sure the event is fired at the right time:
If you need to fire the event after the player has respawned, you should probably have the CharacterAdded function outside of the event. Though the event fires when the player respawns, regardless of the animation finishing.