a guest May 23rd, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local speaker = peripheral.find("speaker")
  2. if not speaker then
  3.     error("No speaker found!")
  4. end
  5. while true do
  6.     speaker.playNote("chime",0.5,math.random(1,9))
  7.     sleep()
  8. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand