command /sklep [<text>]:
trigger:
if argument 1 is not set:
open chest with 1 rows named "&a&lSKLEP" to player
wait 1 tick
format slot 1 of player with 1 of 310 of protection 10 named "&bZajebisty Chelm" with lore "&bCena&7: &7>>&8128 &bDiaxy" to run [make player execute "/sklepitem diaxee"]
format slot 2 of player with 1 of 311 of protection 10 named "&bZajebista Klata" with lore "&bCena&7: &7>>&8128 &bDiaxy" to run [make player execute "/sklepitem diaxeee"]
format slot 3 of player with 1 of 312 of protection 10 named "&bZajebiste Spodnie" with lore "&bCena&7: &7>>&8128 &bDiaxy" to run [make player execute "/sklepitem kupszklo"]
format slot 4 of player with 1 of 313 of protection 10 named "&bZajebiste Buty" with lore "&bCena&7: &7>>&8128 &bDiaxy" to run [make player execute "/sklepitem kupblokkwarcu"]
format slot 7 of player with 1 of 276 of protection 10 named "&bZajebisty Miecz" with lore "&bCena&7: &7>>&8128 &bDiaxy" to run [make player execute "/sklepitem kupkowadlo"]
#Chełm
command /sklepitem [<text>]:
trigger:
if arg 1 is "diaxee":
if player have 128 diamond:
remove 128 diamond from player
give diamond helmet named "&bZajebisty Chelm" to player
send "ZdobyłeŚ &bZajebisty Chelm!" to player
stop
else:
send "&cMusisz posiadac 128 Diamentów w ekwipunku!"
stop
if arg 1 is "diaxeee":
if player have 128 diamond:
remove 128 diamond from player
give diamond chestplate named "&bZajebista Klata" to player
send "ZdobyłeŚ &bZajebista Klate" to player
stop
else:
send "&cMusisz posiadac 128 Diamentów w ekwipunku!"
stop
Pytanie
Ekipa Szymka i Bananka 3
Gdzie tu jest błąd?
Nie moge kupić klatki piersiowej
Edytowane przez Ekipa Szymka i BanankaOdnośnik do komentarza
Udostępnij na innych stronach
1 odpowiedź na to pytanie
Rekomendowane odpowiedzi