Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local volume = ...
- if volume ~= nil then
- volume = tonumber (volume)
- for i = 1, volume do
- redstone.setAnalogOutput("top", volume)
- end
- else
- print ("Please enter a volume from 1-15 to play music")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement