Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /rozdzka:
- trigger:
- if player has 9 diamond block:
- remove 9 diamond block from player
- give a 369 named "&8» &7Rozdka teleportacji do &eLobby&7." to the player
- else:
- message "&8» &7Nie posiadasz: &e(9x blokow diamentow)"
- on rightclick:
- if name of player's tool is "&8» &7Rozdka teleportacji do &eLobby&7.":
- set {_pos} to location of player
- message "&8» &7Trwa teleportacja, musisz poczekac &e5 sekund&7."
- message "&8» &7Nie ruszaj &esie!"
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- wait 1 second
- if {_pos} is location of player:
- execute console command "spawn %player%"
- message "&8» &7Zostales pomyslnie przeteleportowany na &espawn&7."
- remove 1 369 of unbreaking 1 named "&8» &7Rozdka teleportacji do &eLobby&7." from player
- else:
- cancel event
- message "&8» &8» &7Wykryto ruch, &eteleportacja anulowana!"
- stop
- else:
- cancel event
- message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
- stop
- else:
- cancel event
- message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
- stop
- else:
- cancel event
- message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
- stop
- else:
- cancel event
- message "&8» &7Wykryto ruch, &eteleportacja anulowana!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment