How can I make everyone in workspace removed from workspace then in the amount of time given they respawn?
for i,v in pairs(game.Players:GetPlayers()) do v:LoadCharacter(true) end
local waitTime = 60 -- how many seconds before respawn for i,v in pairs(game.Players:GetChildren()) do if v.Character.Parent == game.Workspace then clone = v.Character:Clone().Parent = game.Lighting v.Character:Destroy() end wait(waitTime) for _,plrs in pairs(game.Lighting:GetChildren()) do if plrs:IsA("Model") then plrs.Parent = game.Workspace end end end