command /Efekty:
trigger:
open chest with 5 rows named "&2&lEfekty" to player
wait 2 tick
if inventory name of player's current inventory is "&2&lEfekty":
format slot 0 of player with 1 of black glass to close
format slot 10 of player with 1 of golden pickaxe named " &6&lHASTE I" with lore " &6&lKOSZT||&a&l16 BLOKOW EMERALDOW ||&a&l 2 MINUTY" to close then run [make player execute "kupefekt haste1"]
format slot 19 of player with 1 of golden pickaxe named " &6&lHASTE II" with lore " &6&lKOSZT||&a&l32 BLOKI EMERALDOW ||&a&l 2 MINUTY" to close then run [make player execute "kupefekt haste2"]
format slot 28 of player with 1 of golden pickaxe named " &6&lHASTE III" with lore " &6&lKOSZT||&a&l2x 64 BLOKI EMERALDOW ||&a&l 5 MINUT" to close then run [make player execute "kupefekt haste3"]
format slot 13 of player with 1 of iron boots named " &b&lSPEED I" with lore " &b&lKOSZT||&a&l16 BLOKOW EMERALDOW ||&a&l 2 MINUTY" to close then run [make player execute "kupefekt speed1"]
format slot 22 of player with 1 of iron boots named " &b&lSPEED II" with lore " &b&lKOSZT||&a&l32 BLOKI EMERALDOW ||&a&l 5 MINUT" to close then run [make player execute "kupefekt speed2"]
format slot 31 of player with 1 of iron boots named " &b&lSPEED III" with lore " &b&lKOSZT||&a&l64 BLOKI EMERALDOW ||&a&l 2 MINUTY" to close then run [make player execute "kupefekt speed3"]
format slot 16 of player with 1 of diamond sword named " &c&lSTRENGTH I" with lore " &c&lKOSZT||&a&l2x 64 BLOKI EMERALDOW ||&a&l 2 MINUTY" to close then run [make player execute "kupefekt sila1"]
format slot 25 of player with 1 of diamond sword named " &c&lSTRENGTH II" with lore " &c&lKOSZT||&a&l4x 64 BLOKI EMERALDOW ||&a&l 2 MINUTY" to close then run [make player execute "kupefekt sila2"]
format slot 34 of player with 1 of 165 named " &a&lJUMP BOOST I" with lore " &a&lKOSZT|| &a&l64 EMERALDY ||&a&l 2 MINUTY" to run [make player execute "kupefekt jump1"]
else:
stop
Pytanie
Lavor11 0
Poprawi ktos? Nie dziala mi
[code]
Odnośnik do komentarza
Udostępnij na innych stronach
2 odpowiedzi na to pytanie
Rekomendowane odpowiedzi