Susceptance

toChunk

Apr 25th, 2022
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. os.loadAPI("signToDir.lua")
  2. os.loadAPI("rotate.lua")
  3. os.loadAPI("moveDir.lua")
  4.  
  5. x = 26
  6. y = 49
  7. dir = 1
  8.  
  9. function toChunk(tx, ty, fx, fy)
  10.     print('cock')
  11.     movesX = (tx - fx) * 16
  12.     movesY = (ty - fy) * 16
  13.    
  14.     print(movesX)
  15.     print(movesY)
  16.     moveDir.moveX(movesX)
  17.     moveDir.moveY(movesY)
  18. end
  19.  
  20. toChunk(25, 50, x, y)
Add Comment
Please, Sign In to add comment