Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --local mon = peripheral.wrap("top")
- local sen = peripheral.wrap("top")
- local haha = "R4ndomMaX"
- while true do
- names = sen.getPlayerByName(haha)
- if names then
- rs.setOutput("left", true)
- --shell.run("clear")
- sleep(0.5)
- else
- rs.setOutput("right", true)
- --shell.run("clear")
- sleep(0.5)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement