Advertisement
Guest User

The ACTUAL code.

a guest
Nov 16th, 2022
27
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. on right click:
  2. if clicked block is "<acacia_door>":
  3. execute console command "/teleport <player> @e[sort=nearest,tag=closet]"
  4. execute console command "/effect give <player> invisibility 1000000 1 true"
  5. execute console command "/tag <player> add inCloset"
  6.  
  7. if player tag is inCloset:
  8. if player crouches:
  9. execute console command "/teleport <player> @e[sort=nearest,tag=closet] ^ ^ ^1"
  10. execute console command "/effect clear <player> invisibility"
  11. execute console command "/tag <player> remove inCloset"
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement