Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /setspawn:
- trigger:
- if player has permission "setspawn":
- set {spawn} to location of player
- send "&7Ustawiono spawn!"
- stop
- else:
- send "&4Blad: &cNie masz do tego praw!"
- stop
- command /spawn:
- trigger:
- if {spawn.off.on} is true:
- if {spawn} is set:
- set {_pos} to location of player
- send "&7Zostaniesz teleportowany za &65 sekund &7,prosze sie nie ruszac!"
- if {_pos} isn't location of player:
- send "&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} isn't location of player:
- send "&cWykryto ruch, teleportacja anulowana!"
- stop
- wait 1 second
- if {_pos} is location of player:
- teleport player to {essentialsskript.spawn}
- send "&7Zostales teleportowany"
- stop
- else:
- send "&cWykryto ruch, teleportacja anulowana!"
- stop
- else:
- send "{@tag} &cSpawn nie zostal ustawiony skontaktuj sie z administratorem!"
- stop
- else:
- send "&4Blad: &cSpawn jest w tej chwili wylaczony"
- stop
- command /spawn [<text>]:
- trigger:
- if has permission "spawn.on.off":
- if arg 1 is "on":
- set {spawn.off.on} to true
- send "&aAktywowales spawn!"
- if arg 1 is "off":
- set {spawn.off.on} to false
- send "&aDezaktywowales spawn!"
- else:
- send "&4Blad: &cNie masz do tego praw!"
Advertisement
Add Comment
Please, Sign In to add comment