Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on iron door:
- if name of player's tool contains "Keycard":
- if block below block is iron door:
- set block below block below block below block to redstone torch
- wait 3 seconds
- set block below block below block below block to air
- if block north of block is iron door:
- set block below block below block below north of block to redstone torch
- wait 3 seconds
- set block below block below block below north of block to air
- if block west of block is iron door:
- set block below block below block below west of block to redstone torch
- wait 3 seconds
- set block below block below block below west of block to air
- if block east of block is iron door:
- set block below block below block below east of block to redstone torch
- wait 3 seconds
- set block below block below block below east of block to air
- if block south of block is iron door:
- set block below block below block below south of block to redstone torch
- wait 3 seconds
- set block below block below block below south of block to air
- else if block below block is not iron door:
- set block below block below block to redstone torch
- wait 3 seconds
- set block below block below block to air
- if block north of block is iron door:
- set block below block below north of block to redstone torch
- wait 3 seconds
- set block below block below north of block to air
- if block west of block is iron door:
- set block below block below west of block to redstone torch
- wait 3 seconds
- set block below block below west of block to air
- if block east of block is iron door:
- set block below block below east of block to redstone torch
- wait 3 seconds
- set block below block below east of block to air
- if block south of block is iron door:
- set block below block below south of block to redstone torch
- wait 3 seconds
- set block below block below south of block to air
- else:
- send "&cYou require a keycard to open this"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement