Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- input1 = "44 44 44 44 "
- for a=1,string.len(input1) do
- note=tonumber(string.sub(input1,a,a))
- if note ~= nil and note >= 1 and note <= 9 then redstone.setBundledOutput( "back",math.pow(2,note-1)) end
- sleep(.1)
- redstone.setBundledOutput("back",0)
- sleep(.1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement