Advertisement
Guest User

gaybutton.lua

a guest
Aug 25th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. c = peripheral.wrap("left")
  2.  
  3. while true do
  4.  
  5.    local event = os.pullEvent("redstone")
  6.    if rs.getInput("top") == true then
  7.     c.say("Gay Detected! Red Alert!")
  8.     rs.setOutput("top", true)
  9.     sleep(10)
  10.     rs.setOutput("top", false)
  11.     sleep(1)    
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement