Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- stato = true -- true se aperta
- while true do
- a, b = os.pullEvent(player)
- if b == "tommy2805" or b == "stefy25" then
- if stato then
- stato = false
- redstone.setBundledOutput("bottom", colors.magenta)
- sleep(0.2)
- for i = 0, 2 do
- redstone.setBundledOutput("top", colors.white)
- sleep(1)
- redstone.setBundledOutput("top", 0)
- print("abbasso")
- sleep(0.1)
- end
- redstone.setBundledOutput("bottom", 0)
- else
- stato = true
- for i = 0, 2 do
- redstone.setBundledOutput("top", colors.lightBlue)
- sleep(1)
- redstone.setBundledOutput("top", 0)
- print("alzo")
- sleep(0.2)
- end
- redstone.setBundledOutput("bottom", colors.blue)
- sleep(0.2)
- redstone.setBundledOutput("bottom", 0)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment