Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Function to play a note once
- local function playNoteOnce()
- -- Redstone output to trigger the note block
- redstone.setOutput("back", true)
- sleep(0.5) -- Adjust this delay as needed
- redstone.setOutput("back", false)
- end
- -- Call the function to play the note once
- playNoteOnce()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement