Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- tag: &4[&6McSurv&4]:
- tag2: &4-&6McSurv&4-
- itemki: 1 redstone and 1 stick
- item: stick
- item1: 1 redstone
- item2: 1 stick
- permission: {@tag}&9Nie masz uprawnien!
- on rightclick on furnace:
- if {transform.%clicked block%} is less than 100:
- stop
- if {transform.%clicked block%} is more than 99:
- clear {transform.%clicked block%}
- if {transform.%clicked block%} is not set:
- loop 100 times:
- wait 2 seconds
- if clicked block contains {@itemki}:
- wait 1 tick
- add 1 {@item} of infinity 5 named "&4Teleport na home" to clicked block
- wait 1 tick
- remove {@item1} from clicked block
- remove {@item2} from clicked block
- on rightclick with a stick of infinity 5:
- set {_pos} to location of player
- send "{@tag}&9Czekaj 5 sekund, nie mozesz sie ruszac!"
- if {_pos} isn't location of player:
- send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} is location of player:
- remove 1 {@item} of infinity 5 from the player
- teleport player to {teleport.home}
- send "{@tag}&9Teleportacja..."
- else:
- send "{@tag}&9Wykryto ruch, teleportacja anulowana!"
- stop
- command /home [<text>]:
- aliases: ehome
- trigger:
- if arg 1 is not set:
- send "&9========={@tag2}========="
- send "&9/home - Pokazuje liste komend"
- send "&9/home setspawn - Ustawia home"
- send "&9========================="
- if arg 1 is "setspawn":
- set {teleport.home} to location of player
- send "{@tag}&9Ustawiono dom!"
- stop
- if arg 1 is not "setspawn":
- send "{@tag} &9Nie ma takiej komendy! Wpisz /home"
- stop
- command /sethome:
- aliases: esethome
- trigger:
- send "{@tag}&9Nie ma takiej komendy! Wpisz /home"
- stop
Advertisement
Add Comment
Please, Sign In to add comment