Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on sign change:
- line 1 is "[Elevator]":
- line 2 is "Up":
- set line 1 to "&1[Elevator]"
- set line 2 to "Up"
- line 2 is "up":
- set line 1 to "&1[Elevator]"
- set line 2 to "Up"
- line 2 is "uP":
- set line 1 to "&1[Elevator]"
- set line 2 to "Up"
- line 2 is "UP":
- set line 1 to "&1[Elevator]"
- set line 2 to "Up"
- on rightclick on sign:
- line 1 is "&1[Elevator]":
- line 2 is "Up":
- set {_location} to location of player
- set y-coordinate of {_location} to 257
- loop 256 times:
- remove 1 from the y-coordinate of {_location}
- if block at {_location} is not air or torch or sign or water or lava:
- teleport player to block above {_location}
- stop loop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement