Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on right click on sign:
- line 1 of clicked block is "&3■■&2■&1|-||&aWayPoint&1||-|&2■&3■■"
- line 2 of clicked block is "&7Right click"
- line 3 of clicked block is "%region at player%"
- line 4 of clicked block is "&3■■&2■&1|-||&aground&1||-|&2■&3■■"
- if player is on ground:
- set {_cooldown} to difference between {cp.%player%.lastused} and now
- if {_cooldown} is less than 1 seconds:
- send " &c&l<&4&l<&4&l WP &4&l>&c&l> &4Please wait at 1 second for Waypoint save to next."
- stop
- set {checkpoint.%region at player%.%player%} to location of player
- set {cp.%player%.lastused} to now
- send " &f&l<&e&l< &f&lWP &e&l>&f&l> &aWaypoint has been saved &7(%region at player%)"
- execute console command "playsound entity.player.levelup master %player% ~ ~ ~ 1 2 1"
- else:
- send " &c&l<&4&l<&4&l WP &4&l>&c&l> &c空中で設定することはできません!"
- on sign change:
- line 1 is "cp"
- set line 4 to "&3■■&2■&1|-||&aground&1||-|&2■&3■■"
- set line 3 to "%region at player%"
- set line 2 to "&7Right click"
- set line 1 to "&3■■&2■&1|-||&aWayPoint&1||-|&2■&3■■"
- on rightclick with quartz:
- player's gamemode is adventure
- teleport player to {checkpoint.%region at player%.%player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement