Mam skrypt i chce zobić sprawdzenie czy loop-player to ta osoba która tym melonem strzeliła. jak to zrobić? bo to co mam nie działa
if name of player's tool contains "&aWyrzutnia Melona":
play raw sound "random.explode" at player with pitch 1 volume 10
remove 60 from {Energy::%player%}
make the player shoot an item projectile of 103 at speed 2
if name of player's tool contains "&6Wyrzutnia Dyni":
play raw sound "random.explode" at player with pitch 1 volume 10
remove 30 from {Energy::%player%}
make the player shoot an item projectile of 86 at speed 2
on item hit:
event-item is a 103:
create fake explosion at event-location
loop players in radius 2 around event-location:
loop-player is not shooter:
send "&8[&cArena&8]&7 Wyrzutnia Melona Przeciwnika zadala ci&c 160&7 obrazen!" to loop-player
remove 160 from {HP::%loop-player%}
on item hit:
event-item is a 86:
create fake explosion at event-location
loop players in radius 2 around event-location:
loop-player is not shooter:
send "&8[&cArena&8]&7 Wyrzutnia Dyni Przeciwnika zadala ci&c 80&7 obrazen!" to loop-player
remove 80 from {HP::%loop-player%}
Pytanie
szymonjjay 29
Mam skrypt i chce zobić sprawdzenie czy loop-player to ta osoba która tym melonem strzeliła. jak to zrobić? bo to co mam nie działa
if name of player's tool contains "&aWyrzutnia Melona":
play raw sound "random.explode" at player with pitch 1 volume 10
remove 60 from {Energy::%player%}
make the player shoot an item projectile of 103 at speed 2
if name of player's tool contains "&6Wyrzutnia Dyni":
play raw sound "random.explode" at player with pitch 1 volume 10
remove 30 from {Energy::%player%}
make the player shoot an item projectile of 86 at speed 2
on item hit:
Edytowane przez szymonjjayevent-item is a 103:
create fake explosion at event-location
loop players in radius 2 around event-location:
loop-player is not shooter:
send "&8[&cArena&8]&7 Wyrzutnia Melona Przeciwnika zadala ci&c 160&7 obrazen!" to loop-player
remove 160 from {HP::%loop-player%}
on item hit:
event-item is a 86:
create fake explosion at event-location
loop players in radius 2 around event-location:
loop-player is not shooter:
send "&8[&cArena&8]&7 Wyrzutnia Dyni Przeciwnika zadala ci&c 80&7 obrazen!" to loop-player
remove 80 from {HP::%loop-player%}
Odnośnik do komentarza
https://skript.pl/temat/12317-jak-sprawdzi%C4%87-czy-loop-player-to-shooter/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi