Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local tool = peripheral.wrap("right")
- local instrument = "harp"
- function play(note)
- tool.playNote(instrument, note)
- end
- while true do
- play(22)
- sleep(0.5)
- play(21)
- sleep(0.5)
- play(22)
- sleep(0.5)
- play(22)
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement