Riley_Huntley

Untitled

Dec 1st, 2015
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.58 KB | None | 0 0
  1. Time = 800  --The time in seconds that you must hold the flag for to win.
  2. HalfTime = 400
  3.  
  4. for i = 1, Time do
  5. for b, v in pairs(script.Parent.BrickTimer:GetChildren()) do
  6. v.Name = "Time: " ..i.. "/" ..Time.. "."
  7. wait(1) --HOLD UP A SECOND.
  8. end end
  9.  
  10. --If the script gets atleast this far, you know the raiders have won.
  11.  
  12. Clone = script.RaiderWin:clone()
  13.  
  14. Clone.Parent = game.Workspace
  15.  
  16. Clone.Disabled = false
  17.  
  18.  
  19. [[--
  20.  
  21. m = Instance.new("Hint", workspace)
  22. m.Text = "The flag " ..script.Parent.Name.. " has been captured by the " ..name.. " for " ..HalfTime.. " seconds!"
  23. --]]
Advertisement
Add Comment
Please, Sign In to add comment