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

how do i respawn every player in a normal script?

Asked by 4 years ago

I am trying to make a respawn at the end of a round type thing. Thanks!

2 answers

Log in to vote
0
Answered by
WishXVI 94
4 years ago

oh just get a variable for every player like :GetChildren() and then use player:LoadCharacter! Hope it helps!

0
I made this local and this respawn script but it is not working local plrs = game.Players:GetChildren() plrs:LoadCharacter() diggerbear1 32 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

write this for loop

for _, player in pairs(game.Players:GetChildren()) do
    player.Character.Humanoid.Health = 0
end

Answer this question