Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Instant respawn script? "solved!" [closed]

Asked by
narfh 0
9 years ago

--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.

1
where's the script SurVur 86 — 9y
0
I think that is the script... Goulstem 8144 — 9y
3
Put your code in appropriate Lua Code Block plz Goulstem 8144 — 9y

Closed as Too Broad by Goulstem, dyler3, Operation_Meme, and woodengop

This question has been closed because it is too broad and is generally unanswerable. Please ask a more specific question.

Why was this question closed?

1 answer

Log in to vote
-2
Answered by
SurVur 86
9 years ago

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

The Died event does not return anything

0
You do know the CharacterAdded event is called when the character is completely loaded(Humanoid and all) NotsoPenguin 705 — 9y
Ad