_block_master187 1 Posted July 16, 2017 Share Posted July 16, 2017 My Robot AI uses blocks beneath the robot to identifiy a path to move along. Everything is said in the script. Here is the pastebin: https://pastebin.com/zKiLgp0N pastebin get zKiLgp0N It uses robot inventory slots to compare the path blocks. --[[ Ok so heres how this works. You must place the control blocks in robot slots 1-5. 1: Forward, 2: Right, 3: Left, 4: Up, 5: Down. ]]-- local robot = require("robot") while true do robot.select(1) if robot.compareDown() == true then robot.forward() end robot.select(2) if robot.compareDown() == true then robot.turnRight() robot.forward() end robot.select(3) if robot.compareDown() == true then robot.turnLeft() robot.forward() end robot.select(4) if robot.compareDown() == true then robot.up() robot.forward() end robot.select(5) if robot.compareDown() == true then robot.forward() robot.down() end end Quote Link to post Share on other sites