on rightclick with eye of ender:
if player's tool is eye of ender of unbreaking 10 named "&cZamiana":
cancel event
if {polimorfia::*} is set:
send "&7[&4Zamiana&7] &eJuz jestes zamieniony"
stop
else:
run player command "/disguise zombie" as op
add player to {polimorfia::*}
set {_time} to "%{czaspolimorfii.%player%}% minutes" parsed as time span
remove 1 eye of ender of unbreaking 10 named "&cZamiana" from player
wait {_time}
run player command "/undis" as op
remove player from {polimorfia::*}
stop
on death:
if {polimorfia::*} is set:
remove player from {polimorfia::*}
run player command "/undis" as op
send "&cZgninoles! twoja zamiana zostala zdjeta" to player
else:
stop
mianowicie chodzi o to jak zrobić gdy zginiemy to dalsze czynnosic po "wait {_time}" zostana zatrzymane i nie zostana wykonane?
Pytanie
MateoxPL 6
Witam
Mam problem z tym skryptem
on rightclick with eye of ender: if player's tool is eye of ender of unbreaking 10 named "&cZamiana": cancel event if {polimorfia::*} is set: send "&7[&4Zamiana&7] &eJuz jestes zamieniony" stop else: run player command "/disguise zombie" as op add player to {polimorfia::*} set {_time} to "%{czaspolimorfii.%player%}% minutes" parsed as time span remove 1 eye of ender of unbreaking 10 named "&cZamiana" from player wait {_time} run player command "/undis" as op remove player from {polimorfia::*} stop on death: if {polimorfia::*} is set: remove player from {polimorfia::*} run player command "/undis" as op send "&cZgninoles! twoja zamiana zostala zdjeta" to player else: stop
mianowicie chodzi o to jak zrobić gdy zginiemy to dalsze czynnosic po "wait {_time}" zostana zatrzymane i nie zostana wykonane?
Pozdrawiam
Odnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi