Here is the script:
if game.Players.Player.Humanoid.Health < 0 then print("Player dead") if true then
game.Players.Player:remove() print("Spectate is working") if nil then print("Hmm..Spectacte isn't working..")
else
end
if game.Workspace.Players = nil then
game.Players.Player:add() print("Re-adding player") if nil then print("Currently unable to re-add player")
end
What I want it to do is have players spectate after death until all players are dead, then re add them all.. But I can't seem to figure out how :/

2 comments
Please insert it into Lua Formatting. In order to do so, edit your current text, and look at the top of the text box for a lua logo. After finding it, click it, and put your script inside the ~~~s.
Alright fixed it, sorry about that.