variables:
{waluta} = 0
command /portfel:
trigger:
wait 1 tick
open chest with 3 rows named "&f||||||||||||||||||||||||| &4&l PORTFEL &f|||||||||||||||||||||||||" to player
wait 1 tick
format slot 4 of player with 1 of gold ingot named "&6&l| Punkty |" with lore "&7Aktualnie masz %{waluta}% punktów" to be unstealable
format slot 10 of player with 1 of elytra named "&2Elytra" with lore "&7Koszt: 5 punktów" to close then run [execute console command "give %player% elytra 1"]
command /dodaj:
trigger:
add 1 to {waluta}
command /usun:
trigger:
remove 1 from {waluta}
Generalnie chciałbym spytać gdzie mam dać polecenie remove 5 from {waluta} po zakupie elytry
Pytanie
Treloog 1
variables: {waluta} = 0 command /portfel: trigger: wait 1 tick open chest with 3 rows named "&f||||||||||||||||||||||||| &4&l PORTFEL &f|||||||||||||||||||||||||" to player wait 1 tick format slot 4 of player with 1 of gold ingot named "&6&l| Punkty |" with lore "&7Aktualnie masz %{waluta}% punktów" to be unstealable format slot 10 of player with 1 of elytra named "&2Elytra" with lore "&7Koszt: 5 punktów" to close then run [execute console command "give %player% elytra 1"] command /dodaj: trigger: add 1 to {waluta} command /usun: trigger: remove 1 from {waluta}Generalnie chciałbym spytać gdzie mam dać polecenie remove 5 from {waluta} po zakupie elytry
Odnośnik do komentarza
https://skript.pl/temat/35864-sklep-za-punkty/Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi