SHARE
TWEET

Untitled

a guest Mar 26th, 2020 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on right click on iron door:
  2.     if name of player's tool contains "Keycard":
  3.         if block below block is iron door:
  4.             set block below block below block below block to redstone torch
  5.             wait 3 seconds
  6.             set block below block below block below block to air
  7.             if block north of block is iron door:
  8.                 set block below block below block below north of block to redstone torch
  9.                 wait 3 seconds
  10.                 set block below block below block below north of block to air
  11.             if block west of block is iron door:
  12.                 set block below block below block below west of block to redstone torch
  13.                 wait 3 seconds
  14.                 set block below block below block below west of block to air
  15.             if block east of block is iron door:
  16.                 set block below block below block below east of block to redstone torch
  17.                 wait 3 seconds
  18.                 set block below block below block below east of block to air
  19.             if block south of block is iron door:
  20.                 set block below block below block below south of block to redstone torch
  21.                 wait 3 seconds
  22.                 set block below block below block below south of block to air
  23.         else if block below block is not iron door:
  24.             set block below block below block to redstone torch
  25.             wait 3 seconds
  26.             set block below block below block to air
  27.             if block north of block is iron door:
  28.                 set block below block below north of block to redstone torch
  29.                 wait 3 seconds
  30.                 set block below block below north of block to air
  31.             if block west of block is iron door:
  32.                 set block below block below west of block to redstone torch
  33.                 wait 3 seconds
  34.                 set block below block below west of block to air
  35.             if block east of block is iron door:
  36.                 set block below block below east of block to redstone torch
  37.                 wait 3 seconds
  38.                 set block below block below east of block to air
  39.             if block south of block is iron door:
  40.                 set block below block below south of block to redstone torch
  41.                 wait 3 seconds
  42.                 set block below block below south of block to air
  43.     else:
  44.         send "&cYou require a keycard to open this"
  45.         stop
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top