jest to sklep są komendy /sklep /sklep1 /sklep2 /sklep3 połącz to w jedno że masz komendę /sklep a te pozostałe są podłączone do siebie że ranga vip klikniesz na blok i przechodzisz do nowego okna jest waluta kapsle sprawdzasz pod /stan będzie się kupywało na stornie serwera
i tam masz do wyboru vip 7 dni 30dni 60 dni
i tak samo svip
buteleczki exp
już wysyłam plik
i nie będzie zbroje itd. a waluta to kapsle kupuje się na stonie serwera na shop
nie będzie efektów zbroj tylko /sklep wybierasz np.blok złota "vip" otwiera się next okno i masz do wyboru 7dni 30dni 60dni a next okno czy potwierdzasz kupno i tak samo z svip buteleczki exp
i dołaczyć komende /dajkapsle (nick) (ilość)
variables:{pkt.%player%}=0
on mine of stone:
add 1 to {pkt.%player%}
command /sklep:
trigger:
open chest with3 rows named "&eMENU" to players
wait 1 tick
format slot 0 of players with1DiamondHelmet named "&e&lZbroje" to run [make player execute "sklep1"]
format slot 1 of players with1GlassBottle named "&e&lEfekty" to run [make player execute "sklep2"]
format slot 26 of players with1RedWool named "&eStan konta: &f%{pkt.%player%}%"with lore "&eMozesz sprawdzic stan punktow pod komenda &f/stan" to be unstealable
command /sklep1:
trigger:
open chest with3 rows named "&eZBROJE" to players
wait 1 tick
format slot 0 of players with1DiamondHelmet of Protection4 and unbreaking 3 named "&eHelm 4/3"with lore "&eAby je kupic musisz miec &f2000 &etysiace punktow ||&ePosiadasz &f%{pkt.%player%}% punktow" to run [make player execute "daj helm"]
format slot 1 of players with1DiamondChestplate of Protection4 and unbreaking 3 named "&eKlata 4/3"with lore "&eAby je kupic musisz miec &f2000 &etysiace punktow ||&ePosiadasz &f%{pkt.%player%}% punktow" to run [make player execute "daj klata"]
format slot 2 of players with1DiamondLeggings of Protection4 and unbreaking 3 named "&eSpodnie 4/3"with lore "&eAby je kupic musisz miec &f2000 &etysiace punktow ||&ePosiadasz &f%{pkt.%player%}% punktow" to run [make player execute "daj spodnie"]
format slot 3 of players with1DiamondBoots of Protection4 and unbreaking 3 named "&eButy 4/3"with lore "&eAby je kupic musisz miec &f2000 &etysiace punktow ||&ePosiadasz &f%{pkt.%player%}% punktow" to run [make player execute "daj buty"]
format slot 26 of players with1RedWool named "&eStan konta: &f%{pkt.%player%}%"with lore "&eMozesz sprawdzic stan punktow pod komenda &f/stan" to be unstealable
format slot 25 of players with1Wool named "&eWyjscie"with lore "&eKliknij aby wyjsc" to run [make player execute "sklep"]
command /sklep2:
trigger:
open chest with3 rows named "&eEFEKTY" to players
wait 1 tick
format slot 0 of players with1373:8194 named "&eSzybkosc na 3 minuty" to run [make player execute "potka szybkosc"]
format slot 4 of players with1373:8227 named "&eOchrona przed ogniem na 3 minuty" to run [make player execute "potka ochrona"]
format slot 2 of players with1373:8201 named "&eSila 3 minuty" to run [make player execute "potka sila"]
format slot 3 of players with1373:8233 named "&eSila II 2 minuty" to run [make player execute "potka sila2"]
format slot 1 of players with1373:8226 named "&eSzybkosc II 2 minuty" to run [make player execute "potka szybkosc2"]
format slot 26 of players with1RedWool named "&eStan konta: &f%{pkt.%player%}%"with lore "&eMozesz sprawdzic stan punktow pod komenda &f/stan" to be unstealable
format slot 25 of players with1Wool named "&eWyjscie"with lore "&eKliknij aby wyjsc" to run [make player execute "sklep"]
command /daj [<text>]:
trigger:if arg 1 is "helm":if{pkt.%player%} is less than 2000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f2000&e punktow!"
stop
if{pkt.%player%} is greater than 2000:
give 1 diamond helmet of Protection4 and unbreaking 3 to player
remove 2000 from {pkt.%player%}
send "&eZakupiles Helm 4/3!"if arg 1 is "klata":if{pkt.%player%} is less than 2000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f2000&e punktow!"
stop
if{pkt.%player%} is greater than 2000:
give 1 diamond chestplate of Protection4 and unbreaking 3 to player
remove 2000 from {pkt.%player%}
send "&eZakupiles Klate 4/3!"if arg 1 is "spodnie":if{pkt.%player%} is less than 2000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f2000&e punktow!"
stop
if{pkt.%player%} is greater than 2000:
give 1 diamond leggings of Protection4 and unbreaking 3 to player
remove 2000 from {pkt.%player%}
send "&eZakupiles spodnie 4/3!"if arg 1 is "buty":if{pkt.%player%} is less than 2000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f2000&e punktow!"
stop
if{pkt.%player%} is greater than 2000:
give 1 diamond boots of Protection4 and unbreaking 3 to player
remove 2000 from {pkt.%player%}
send "&eZakupiles buty 4/3!"
command /potka [<text>]:
trigger:if arg 1 is "szybkosc":if{pkt.%player%} is less than 1000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f1000&e punktow!"
stop
if{pkt.%player%} is greater than 1000:
apply potion of speed of tier 1 to the player for3 minute
remove 2000 from {pkt.%player%}
send "&eZakupiles Efekt Szybkosci!"if arg 1 is "ochrona":if{pkt.%player%} is less than 1000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f1000&e punktow!"
stop
if{pkt.%player%} is greater than 1000:
apply potion of Fire resistance of tier 1 to the player for3 minute
remove 1000 from {pkt.%player%}
send "&eZakupiles Efekt Ochrony przed ogniem!"if arg 1 is "sila":if{pkt.%player%} is less than 1000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f1000&e punktow!"
stop
if{pkt.%player%} is greater than 1000:
apply potion of strength of tier 1 to the player for3 minute
remove 1000 from {pkt.%player%}
send "&eZakupiles Efekt Sily!"if arg 1 is "sila2":if{pkt.%player%} is less than 1000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f1000&e punktow!"
stop
if{pkt.%player%} is greater than 1000:
apply potion of strength of tier 2 to the player for2 minute
remove 1000 from {pkt.%player%}
send "&eZakupiles Efekt Sily II!"if arg 1 is "szybkosc2":if{pkt.%player%} is less than 1000:
send "&eNie masz tyle pieniedzy! &eMusisz posiadac &f1000&e punktow!"
stop
if{pkt.%player%} is greater than 1000:
apply potion of strength of tier 2 to the player for2 minute
remove 1000 from {pkt.%player%}
send "&eZakupiles Efekt Szybkosci II"
command /stan:
trigger:
send "&ePosiadasz &f%{pkt.%player%}% &ekasy" to player
Pytanie
xkrokolTV 4
jest to sklep są komendy /sklep /sklep1 /sklep2 /sklep3 połącz to w jedno że masz komendę /sklep a te pozostałe są podłączone do siebie że ranga vip klikniesz na blok i przechodzisz do nowego okna jest waluta kapsle sprawdzasz pod /stan będzie się kupywało na stornie serwera
i tam masz do wyboru vip 7 dni 30dni 60 dni
i tak samo svip
buteleczki exp
już wysyłam plik
i nie będzie zbroje itd. a waluta to kapsle kupuje się na stonie serwera na shop
nie będzie efektów zbroj tylko /sklep wybierasz np.blok złota "vip" otwiera się next okno i masz do wyboru 7dni 30dni 60dni a next okno czy potwierdzasz kupno i tak samo z svip buteleczki exp
i dołaczyć komende /dajkapsle (nick) (ilość)
Odnośnik do komentarza
https://skript.pl/temat/19237-sklep-gui/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi