Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on any bed:
- if player's tool is an apple:
- set {_x} to location of clicked block
- teleport player to {_x}
- set {timer} to 10
- while {timer} is not 0:
- loop 1000 times:
- if {timer} is not 0:
- teleport player to {_X}
- else:
- stop loop
- every 1 second:
- if {timer} is set:
- if {timer} is not 0:
- remove 1 from {timer}
- else:
- stop
- on bed enter:
- if player's tool is an apple:
- cancel event
Add Comment
Please, Sign In to add comment