Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Wait until a player respawns after death?

How would I make a script wait until a player respawns after said player has died? I know to use the died event to detect death, but what about detecting respawning?

1 answer

✓ Accepted answer

Why don't you use a different event like CharacterAdded which fires when the Character Spawns or Respawns?

game.Players.PlayerAdded:connect(function(Player)
	Player.CharacterAdded:connect(function(Character)
		--Code
	end)
end)

~UserOnly16Charcters, Hoped I helped you to answer your question! If you have any further question, don't hesitate to comment below!!

1 comment

0

Thanks! You helped a lot.

This discussion is preserved as it was. New answers, comments, and votes are closed.