Otóż chciałem napisać skrypt na armatkę która strzela tnt prosto, lecz strzela do tyłu.
Dotychczasowy kod:
on load: register new shaped recipe for obsidian named "&cArmata" using sand, sand, sand, sand, tnt, sand, sand, sand, sandon place obsidian: if name of player's tool is "&cArmatka": set {event-block.%player%} to event-block send "&aPostawiłeś armatke TNT !" to the player send "&eZa 20 sekund wystrzeli z niej jedno lub więcej TNT !" to the player wait 20 real seconds set event-block to air spawn falling tnt at event-location push last spawned entity upwards at speed 1 push last spawned entity forwards at speed 1 send "&cStrzelam !" to the player
Pytanie
HeroseQ 33
Cześć, mam problem.
Otóż chciałem napisać skrypt na armatkę która strzela tnt prosto, lecz strzela do tyłu.
Dotychczasowy kod:
on load: register new shaped recipe for obsidian named "&cArmata" using sand, sand, sand, sand, tnt, sand, sand, sand, sandon place obsidian: if name of player's tool is "&cArmatka": set {event-block.%player%} to event-block send "&aPostawiłeś armatke TNT !" to the player send "&eZa 20 sekund wystrzeli z niej jedno lub więcej TNT !" to the player wait 20 real seconds set event-block to air spawn falling tnt at event-location push last spawned entity upwards at speed 1 push last spawned entity forwards at speed 1 send "&cStrzelam !" to the playerOdnośnik do komentarza
https://skript.pl/temat/7101-skrypt-na-armate-tnt/Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi