Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ustawresp [<text>] [<text>]:
- trigger:
- if player has permission "skript.resp":
- if arg 1 is not set:
- send "[RESP] Dostepne moby : Zombie[1]"
- send "[RESP] Poprawne uzycie : /ustawresp Zombie[1] <nazwa respa>"
- if arg 1 is "Zombie[1]":
- set {_zombie} to location of player
- add {_zombie} to {moby::*}
- send "[RESP] Poprawnie ustawiles resp moba %arg 1% w miejscu %{_zombie}%
- stop
- every 30 second:
- if {moby::*} is set:
- if {gracze} is more than 0:
- spawn 1 zombie at {moby::*}
- set the name of spawned zombie to "<gold>Zombie <gray>[1]"
- on join:
- add 1 to {gracze}
- on quit:
- remove 1 from {gracze}
Advertisement
Add Comment
Please, Sign In to add comment