Advertisement
DOGGYWOOF

beep 1

Jan 6th, 2024
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. -- Function to play a note once
  2. local function playNoteOnce()
  3. -- Redstone output to trigger the note block
  4. redstone.setOutput("back", true)
  5. sleep(0.5) -- Adjust this delay as needed
  6. redstone.setOutput("back", false)
  7. end
  8.  
  9. -- Call the function to play the note once
  10. playNoteOnce()
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement