Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local last={false,false,false,false,false,false}
- -- place that before the while loop
- if event == "redstone" then
- for l1=1,6 do
- if redstone.testBundledInput(side,2^(l1-1)) then
- if not last[l1] then
- _G["count"..l1]=_G["count"..l1]+1
- last[l1]=true
- end
- else
- last[l1]=false
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment