Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local com = require('component')
- local cb=com.chat_box
- local red = com.redstone
- local event=require("event")
- local str=require("string")
- while true do
- evt,_,plr,msg=event.pull("chat_message")
- if msg=="вход" or msg=="Вход" or msg=="ВХОД" then
- if plr~="Horonos" and plr~="Redriner" then
- red.setOutput(4,1)
- red.setOutput(4,1)
- red.setOutput(4,1)
- red.setOutput(4,1)
- red.setOutput(4,1)
- os.sleep(1)
- red.setOutput(5,0)
- red.setOutput(4,0)
- red.setOutput(3,0)
- red.setOutput(2,0)
- red.setOutput(1,0)
- print(plr)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement