Guest User

propkill.lua

a guest
Aug 6th, 2013
594
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.01 KB | None | 0 0
  1. function MagnetoThrow()
  2.         timer.Simple(.02,Turn)
  3.         timer.Simple(.04,Turn)
  4.         timer.Simple(.06,Turn)
  5.         timer.Simple(.08,Turn)
  6.         timer.Simple(.10,Turn)
  7.         timer.Simple(.12,Turn)
  8.         timer.Simple(.14,Turn)
  9.         timer.Simple(.16,Turn)
  10.         timer.Simple(.18,Turn)
  11.         timer.Simple(.20,Turn)
  12.         timer.Simple(.22,Turn)
  13.         timer.Simple(.24,Turn)
  14.         timer.Simple(.26,Turn)
  15.         timer.Simple(.28,Turn)
  16.         timer.Simple(.30,Turn)
  17.         timer.Simple(.32,Turn)
  18.         timer.Simple(.34,Turn)
  19.         timer.Simple(.36,Turn)
  20.         timer.Simple(.46,TurnBack)
  21.         timer.Simple(.7,function() RunConsoleCommand("+attack") end)
  22.         timer.Simple(.72,function() RunConsoleCommand("-attack") end)
  23. end
  24.  
  25. function Turn()
  26.         LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,10,0))
  27. end
  28.  
  29. function TurnBack()
  30.         LocalPlayer():SetEyeAngles(LocalPlayer():EyeAngles()-Angle(0,180,0))
  31. end
  32. concommand.Add("ThrowMagneto",MagnetoThrow)
Advertisement
Add Comment
Please, Sign In to add comment