Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[ Random Program (Shuffle) ]]--
- --[[ Functions ]]--
- function shuffle(1)
- while 1=1 do
- turtle.turnRight()
- turtle.turnRight()
- turtle.forward()
- end
- function shuffle(2)
- while true do
- turtle.turnRight()
- turtle.turnLeft()
- turtle.turnLeft()
- turtle.turnRight()
- end
- function shuffle(3)
- while 1=1 do
- turtle.up()
- turtle.down()
- end
- end
- end
- --[[ Code ]]--
- print("Dance Master")
- print("1.0")
- write("Dance: ")
- input = read()
- help = read()
- if help == "/help" then
- print("Try: 1 or 2 or 3")
- print("For Dancing")
- sleep(2)
- os.reboot()
- end
- if input == "1" then
- print("Lets boogie!")
- shuffle(1)
- elseif input == "2" then
- print("bust a move!")
- shuffle(2)
- elseif input == "3" then
- print("Bout to get my swerve on!")
- shuffle(3)
- else
- print("Unknown Dance Move!")
- print("Please Teach Me It?!?!")
- sleep(2)
- shell.run("shuffle")
- end
Advertisement
Add Comment
Please, Sign In to add comment