I have this script which I made, but I want to make the script start all over once the player resets.
COMMUNITY QUESTION
How can I make a running script cancel if a player resets?
2 answers
We need a bit more info for a specific answer for your case, but in general the Died event will be what you can use to detect the death of a Player.
You could put this in a different script, not very effective but it works
local player = playerhere
player.Character.Died:connect(function()
game.Workspace.SCRIPTHERE.Disabled = true
game.Workspace.SCRIPTHERE.Disabled = false
end)
1 comment
0
The Died event is used with the Humanoid of a player, not the Character.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
post it!