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

How do I respawn a whole server?

Asked by
Rurith 10
10 years ago

How to I make the server respawn, like all of the server I want to respawn. I will try it out, but It wont work e.e

game.Players:LoadCharacter()

1 answer

Log in to vote
2
Answered by
Azarth 3141 Moderation Voter Community Moderator
10 years ago

Use pairs to get all player's.

for i,v in pairs(game.Players:GetPlayers()) do 
    v:LoadCharacter()
end
Ad

Answer this question