Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- players = {"coca44000", "AzorKill", "Gaugausw44"}
- p = peripheral.wrap("top")
- while true do
- if p.getInventoryName() ~= "pim" then
- isPlayer = false
- for k, v in pairs(players) do
- if v == p.getInventoryName() then
- isPlayer = true
- end
- end
- if isPlayer == false then
- for i = 1,p.getInventorySize() do
- p.pushItem("south", i,64, i)
- end
- end
- rs.setOutput("bottom", true)
- sleep(3)
- rs.setOutput("bottom", false)
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement