Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x=game.ServerStorage.Crystal:Clone()
- while true do
- wait(.25)
- if script.Parent.Humanoid.Health<1 then
- workspace.Wave.Value = 1
- workspace.WaveTimer.Value = 30
- h=Instance.new("Hint")
- h.Parent = script
- h.Text = "You lost game, restarting..."
- if workspace.WaveTimer>0 then
- game.Workspace:findFirstChild("Wave" .. game.Workspace.Wave.Value)
- end
- wait(5)
- x.Parent = workspace
- script.Parent:Destroy()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement