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

Respawning vs Reseting?

Is there a way to respawn your character like what you would find in, The Mad Murderer. Rather than reseting your character (by scripting at the end of your round fro each player to have 0 health)?

1 answer

✓ Accepted answer

There is a wonderful alternative called LoadCharacter. Here is a usage of it:

function Respawn()
	for i, v in pairs(game.Players:GetChildren())  do
		v:LoadCharacter()
	end
end
Respawn()

See? Very simple.

1 comment

0

k thx!

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