Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local whitelist = {
- ['plazter'] = true,
- ['nick4559'] = true
- }
- local test = true
- while true do
- event, p1 = os.pullEvent("player")
- if whitelist[ p1:lower() ] then
- if test == true then
- test = false
- rs.setOutput("bottom", true)
- print("I am on!")
- elseif test == false then
- test = true
- print("I Am off!")
- rs.setOutput("bottom", false)
- end
- else
- print("U aint plazter or Pizzamanden!")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement