Advertisement
Guest User

Super Speed Round

a guest
Apr 24th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.80 KB | None | 0 0
  1. local random = math.random(1,75)
  2.  
  3.  
  4. local function roundend()
  5.     if win == WIN_INNOCENT then
  6.         GAMEMODE:SetPlayerSpeed(ply, 250, 250)
  7.     elseif win == WIN_TRAITOR then
  8.         GAMEMODE:SetPlayerSpeed(ply, 250, 250) --Will set there speed to normal :D--
  9.     elseif win == WIN_TIMELIMIT then
  10.         GAMEMODE:SetPlayerSpeed(ply, 250, 250)
  11.     end
  12. end
  13.  
  14.  
  15. if random = 48 then
  16. draw.DrawText ( "This is a 'Speedy' round, you will move 2x faster. Good luck :D", "TargetID", ScrW() * 0.5, ScrH() * 0.25, Color(
  17. 255, 255, 255, 255 ), TEXT_ALIGN_CENTER )
  18. sleep(3)
  19. GAMEMODE:SetPlayerSpeed(ply, 250, 500)
  20. while true do
  21. roundend()
  22. else
  23. roundend()
  24. draw.DrawText ( "This round is a Non Modded round!Have fun!", "TargetID", ScrW() * 0.5, ScrH() * 0.25, Color( 255, 255, 255, 255 ), TEXT_ALIGN_CENTER )
  25. end
  26. end
  27. --END OF FUNCTION MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement