Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function song()
- while true do
- note = read()
- sleep(0.1)
- end
- if note == "1" then
- print(note)
- redstone.setBundledOutput("back", colors.Cyan)
- elseif note == "2" then
- redstone.setBundledOutput("back", colors.Blue)
- elseif note == "3" then
- redstone.setBundledOutput("back", colors.Red)
- elseif note == "3" then
- redstone.setBundledOutput("back", colors.Green)
- elseif note == "4" then
- redstone.setBundledOutput("back", colors.White)
- end
- end
- while true do
- song()
- sleep(0.05)
- end
Advertisement
Add Comment
Please, Sign In to add comment