JoonBug03

buggy_rotate

Aug 13th, 2026 (edited)
29
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | Gaming | 0 0
  1. -- Variables
  2. local args = {...}
  3. local gearshift = peripheral.find("Create_SequencedGearshift")
  4. local pos = tonumber(args[1])
  5.  
  6. if fs.exists("/nodes/node" .. pos) then
  7. shell.run("/nodes/node" .. pos)
  8. else
  9. gearshift.setInstructions({{ speed_modifier = 1, type = "end", value = 1}})
  10. end
Advertisement
Add Comment
Please, Sign In to add comment