So i want 8 seconds to respawn and it works only once, then it just stays dead.
local time = 8
game.Players.CharacterAutoLoads = false
game.Players.PlayerAdded:connect(function(player)
game.Players.CharacterAutoLoads = true
repeat wait() until player.Character
game.Players.CharacterAutoLoads = false
player.Character.Humanoid.Died:connect(function()
wait(time)
player:LoadCharacter()
end)
end)
problem ? No errors.

1 comment
Thank you!