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

Instant respawn script? "solved!"

--Made by narfh game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) repeat wait() until char.Humanoid --Wait for the humanoid. char.Humanoid.Died:connect(function(OMG) plr:LoadCharacter(false) --The player died, respawn them. end) end) end)

I don't understand why it didn't work for the instant respawn script.

3 comments

1

where's the script

0

I think that is the script...

3

Put your code in appropriate Lua Code Block plz

1 answer

✓ Accepted answer

In the section that says repeat wait() until char.Humanoid, change that to char:WaitForChild("Humanoid")

The Died event does not return anything

1 comment

0

You do know the CharacterAdded event is called when the character is completely loaded(Humanoid and all)

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