options:
tag: &8[ &bPremium&3 Case&8]
on place:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
cancel event
on right click:
if player's tool is chest:
if name of player's tool is "&8[&b&lPremium &3&lCase&8]":
broadcast "&8######################################"
broadcast "&c%player% &7Otworzyl &9&lPremium Case &7i wydropil:"
chance of 70%:
drop 64 diamond
broadcast "&7- &c64x Diaxy"
chance of 40%:
drop 1 311 of protection 4 and unbreaking 5 named "&5&lSet 6/6"
broadcast "&7- &c1x Klata 6/6"
chance of 50%:
drop 64 emerald
broadcast "&7- &c64x Emeraldy"
chance of 50%:
drop 1 310 of protection 4 and unbreaking 5 named "&5&lSet 6/6"
broadcast "&7- &c1x Helm 6/6"
chance of 80%:
drop 64 gold ingot
broadcast "&7- &c64x Zelazo"
chance of 40%:
drop 1 312 of protection 4 and unbreaking 5 named "&5&lSet 6/6"
broadcast "&7- &c1x Spodnie 6/6"
chance of 80%:
drop 64 gold ingot
broadcast "&7- &c64x Zloto"
chance of 40%:
drop 1 276 of sharpness 5 and fire aspect 2 named "&5&lMiecz 7/2"
broadcast "&7- &c1x Miecz 6/2"
chance of 50%:
drop 64 TNT
broadcast "&7- &c64x TNT"
chance of 40%:
drop 1 278 of efficiency 6 and unbreaking 3 and fortune 3 named "&5&lKilof 6/3/3"
broadcast "&7- &c1x Kilof 6/3/3"
chance of 30%:
drop 1 278 of efficiency 7 and unbreaking 3 and fortune 3 named "&5&lKilof 7/3/3"
broadcast "&7- &c1x Kilof 7/3/3"
chance of 10%:
drop 1 278 of efficiency 8 and unbreaking 3 and fortune 3 named "&5&lKilof 8/3/3"
broadcast "&7- &c1x Kilof 8/3/3"
chance of 10%:
drop 1 278 of efficiency 9 and unbreaking 3 and fortune 3 named "&5&lKilof 9/3/3"
broadcast "&7- &c1x Kilof 9/3/3"
chance of 10%:
drop 1 138
broadcast "&7- &c1x Beacon"
chance of 40%:
drop 1 278 of efficiency 10 and unbreaking 3 and fortune 3 named "&5&lKilof 10/3/3"
broadcast "&7- &c1x Kilof 10/3/3"
broadcast "&8| &7PremiumCase zakupisz na: &b&l.pl"
broadcast "&8| &7Za &cPSC &7& &cPRZELEW &7kupisz na: &b&"
broadcast "&8######################################"
remove 1 chest named "&8[&b&lPremium &3&lCase&8]" from player's inventory
command /case [<player>] [<text>]:
permission: rex.premiumcase
trigger:
if arg 1 is not set:
if arg 2 is not set:
send "{@tag} &8/&ecase &8[&eNick&8] [&eIlosc&8]"
if arg 1 is set:
if arg 2 is set:
execute console command "give %arg 1% chest %arg 2% name:&8[&b&lPremium_&3&lCase&8]"
send "{@tag} &a&lOtrzymales &b&lPremium &3&lCase &7&lx&c&l%arg 2% &a&l!" to player-arg
Chodzi mi o to żeby na spawnie nie można było ich otwierać ponieważ występuje bug gdy gracz otworzy skrzynke na regionie to skrzynka się buguje i może otwierać cały czas jedną i tą samą
Pytanie
Klaaaaaud3k 0
Chodzi mi o to żeby na spawnie nie można było ich otwierać ponieważ występuje bug gdy gracz otworzy skrzynke na regionie to skrzynka się buguje i może otwierać cały czas jedną i tą samą
Odnośnik do komentarza
https://skript.pl/temat/26487-poprawa-kodu-premiumcase/Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi