local hum = script.Parent:WaitForChild("Humanoid") hum.Died:Connect(function() wait(game.Players.RespawnTime + 0.3) local humroot = script.Parent:WaitForChild("HumanoidRootPart") local spawns = game.Workspace.Spawns:GetChildren() humroot.CFrame = CFrame.new(spawns[math.random(1, #spawns)].Position + Vector3.new(0, 10, 0)) end)