View difference between Paste ID: kurCyJuC and Tknhu0sU
SHOW: | | - or go back to the newest paste.
1-
mon = peripheral.wrap("monitor_1")
1+
SensorS = peripheral.wrap("top")
2-
SensDoor = peripheral.wrap("top")
2+
users = {"LokeYourLord","Death_Rever090"}
3-
users = {"LokeYourLord","00yoshi"}
3+
4
 rs.setOutput("right", false)
5-
 rs.setOutput("left", false)
5+
 Alarm = false
6-
 mon.clear()
6+
7-
 mon.setCursorPos(1,4)
7+
8-
 mon.setTextScale(0.5)
8+
  for T,PlayerTable in pairs(SensorS.getPlayers()) do
9-
 mon.write("Stand on the")
9+
10-
 mon.setCursorPos(1,5)
10+
    rs.setOutput("right", false)
11-
 mon.setTextScale(0.5)
11+
   else
12-
 mon.write("Scanner Block")
12+
    rs.setOutput("right", false)
13-
 mon.setCursorPos(1,6)
13+
    Alarm = true
14-
 mon.setTextScale(0.5)
14+
15-
 mon.write("for 5 seconds!")
15+
16-
 rs.setOutput("left", false)
16+
17-
 OpenDoor = false
17+
 if Alarm then
18
  rs.setOutput("right", true)
19
 end
20-
  for T,PlayerTable in pairs(SensDoor.getPlayers()) do
20+