Advertisement
Navarone19_CH

Countdown System

Jul 7th, 2020
1,544
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local time = 10
  2. for i = 1, 10 do
  3. wait(1)
  4. time = time - 1
  5. script.Parent.Text = tostring(time)
  6. end
  7. script.Parent.Text = "game over"
  8. script.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement