fishermedders

PIM Locked Door

Oct 26th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --FishCo Files
  2. --Edit the players table for all players to have auth
  3. --Edit the side variable for the side the door is on
  4. --sides are top, bottom, left, right, front, back
  5.  
  6. players = {"XMedders","CrazyBran4427","xboxlad237","PvtPenguin6054"}
  7. side = "top"
  8. while true do
  9.   evnt = {os.pullEvent("player_on")}
  10.   for i = 1,#players do
  11.     if evnt[2] == players[i] then
  12.       rs.setOutput("top",true)
  13.       sleep(2)
  14.       rs.setOutput("top",false)
  15.     end
  16.   end
  17. end
Add Comment
Please, Sign In to add comment