Cobra_Tomtrein-temp-

Untitled

Sep 19th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. local a = peripheral.wrap("bottom")
  2.  
  3. local step = 5
  4. local sleep = 0.05
  5.  
  6. local ang = 0
  7.  
  8. function fire(dx,dz)
  9.  
  10.  
  11. end
  12.  
  13.  
  14. while true do
  15. ang = (ang + step) % 360
  16. fire(math.sin(math.rad(ang)),math.cos(math.rad(ang)))
  17. os.sleep(time)
  18. end
Advertisement
Add Comment
Please, Sign In to add comment