Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. local CLOCK
  2. local gptimer=os.clock()-.40
  3. local checkspeed = .2
  4. local utito = 10
  5. local KEY = 13
  6. local exoricount = 0
  7. local gran = 1
  8.  
  9. function rotation()
  10. CLOCK=os.clock()
  11. if (CLOCK-gptimer<checkspeed) then return 0; end
  12. gptimer=CLOCK
  13.  
  14. if(utitotimer == nil or CLOCK-utitotimer>utito) then
  15. UseSpell("Utito tempo")
  16. utitotimer = CLOCK
  17. end
  18.  
  19. if(gran ~= nil) then
  20. UseSpell("Exori gran")
  21. exori = 1
  22. gran = nil
  23. elseif(exori ~= nil) then
  24. UseSpell("Exori")
  25. UseSpell("Exeta res")
  26. exoricount = exoricount + 1
  27. if(exoricount == 2) then
  28. min = 1
  29. exoricount = 0
  30. else
  31. mas = 1
  32. end
  33. exori = nil
  34. elseif(mas ~= nil) then
  35. UseSpell("Exori mas")
  36. gran = 1
  37. mas = nil
  38. elseif(min ~= nil) then
  39. UseSpell("Exori min")
  40. gran = 1
  41. min = nil
  42. end
  43. gptimer = gptimer + 2
  44.  
  45. end
  46.  
  47. SetTimerCallback("rotation")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement