rungholt

djredstone

Mar 29th, 2021 (edited)
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.15 KB | None | 0 0
  1. while true do
  2.     if redstone.getAnalogInput("back") > 0 then
  3.         shell.run("dj play")
  4.     else
  5.         os.pullEvent("redstone")
  6.     end
  7. end
Add Comment
Please, Sign In to add comment