command /skrzynia:
trigger:
give 1 chest named "&b&lLosowa Skrzynia" to player
variables:
{i.skrzynia.%player%} = 1
on rightclick with chest:
if name of player's tool is "&b&lLosowa Skrzynia":
remove 1 chest named "&b&lLosowa Skrzynia Mieczy" from player's inventory
clear {i.skrzynia.%player%}
set {i.skrzynia.%player%} to a random integer from 1 to 15
if {i.skrzynia.%player%} is 1:
add 1 diamond sword of unbreaking 25, sharpness 15 named "&e&lOstrze Moczarnika" to player
if {i.skrzynia.%player%} is 2:
add 1 diamond sword of unbreaking 30, sharpness 20 named "&e&lDebowe Ostrze" to player
if {i.skrzynia.%player%} is 3:
add 1 diamond sword of unbreaking 35, sharpness 25 named "&e&lWlocznia Starego Maga" to player
if {i.skrzynia.%player%} is 4:
add 1 diamond sword of unbreaking 40, sharpness 30 named "&4&lStary Excalifer" to player
if {i.skrzynia.%player%} is 5:
add 1 diamond sword of unbreaking 45, sharpness 35 named "&4&lStalowe Ostrze Chwaly" to player
if {i.skrzynia.%player%} is 6:
add 1 diamond sword of unbreaking 50, sharpness 40 named "&4&lOstrze z Krwi Smoczego Serca" to player
if {i.skrzynia.%player%} is 7:
add 1 gold sword of unbreaking 55, sharpness 45 named "&6&lMiecz Betelgezy" to player
if {i.skrzynia.%player%} is 8:
add 1 gold sword of unbreaking 60, sharpness 50 named "&6&lZlote Ostrze Smierci" to player
if {i.skrzynia.%player%} is 9:
add 1 gold sword of unbreaking 65, sharpness 55 named "&6&lMiecz Lousity" to player
if {i.skrzynia.%player%} is 10:
add 1 iron sword of unbreaking 70, sharpness 60 named "&f&lZaklety Miecz Demonow" to player
if {i.skrzynia.%player%} is 11:
add 1 iron sword of unbreaking 75, sharpness 65 named "&f&lOstrze Boskiego Swiatla" to player
if {i.skrzynia.%player%} is 12:
add 1 iron sword of unbreaking 80, sharpness 70 named "&f&lMistyczny Miecz OverLorda" to player
if {i.skrzynia.%player%} is 13:
add 1 diamond sword of unbreaking 90, sharpness 80 named "&b&lPotezny Orez Wybuchu Supernowej" to player
if {i.skrzynia.%player%} is 14:
add 1 diamond sword of unbreaking 95, sharpness 85 named "&b&lMiecz Niebios" to player
if {i.skrzynia.%player%} is 15:
add 1 diamond sword of unbreaking 100, sharpness 90 named "&b&lNajswietsze Ostrze Archaniola" to player
dodajcie do tego skryptu permisje tylko dla adma a dla gracz zeby mógł otwierać plz
Pytanie
Rafix1423 2
command /skrzynia:
trigger:
give 1 chest named "&b&lLosowa Skrzynia" to player
variables:
{i.skrzynia.%player%} = 1
on rightclick with chest:
if name of player's tool is "&b&lLosowa Skrzynia":
remove 1 chest named "&b&lLosowa Skrzynia Mieczy" from player's inventory
clear {i.skrzynia.%player%}
set {i.skrzynia.%player%} to a random integer from 1 to 15
if {i.skrzynia.%player%} is 1:
add 1 diamond sword of unbreaking 25, sharpness 15 named "&e&lOstrze Moczarnika" to player
if {i.skrzynia.%player%} is 2:
add 1 diamond sword of unbreaking 30, sharpness 20 named "&e&lDebowe Ostrze" to player
if {i.skrzynia.%player%} is 3:
add 1 diamond sword of unbreaking 35, sharpness 25 named "&e&lWlocznia Starego Maga" to player
if {i.skrzynia.%player%} is 4:
add 1 diamond sword of unbreaking 40, sharpness 30 named "&4&lStary Excalifer" to player
if {i.skrzynia.%player%} is 5:
add 1 diamond sword of unbreaking 45, sharpness 35 named "&4&lStalowe Ostrze Chwaly" to player
if {i.skrzynia.%player%} is 6:
add 1 diamond sword of unbreaking 50, sharpness 40 named "&4&lOstrze z Krwi Smoczego Serca" to player
if {i.skrzynia.%player%} is 7:
add 1 gold sword of unbreaking 55, sharpness 45 named "&6&lMiecz Betelgezy" to player
if {i.skrzynia.%player%} is 8:
add 1 gold sword of unbreaking 60, sharpness 50 named "&6&lZlote Ostrze Smierci" to player
if {i.skrzynia.%player%} is 9:
add 1 gold sword of unbreaking 65, sharpness 55 named "&6&lMiecz Lousity" to player
if {i.skrzynia.%player%} is 10:
add 1 iron sword of unbreaking 70, sharpness 60 named "&f&lZaklety Miecz Demonow" to player
if {i.skrzynia.%player%} is 11:
add 1 iron sword of unbreaking 75, sharpness 65 named "&f&lOstrze Boskiego Swiatla" to player
if {i.skrzynia.%player%} is 12:
add 1 iron sword of unbreaking 80, sharpness 70 named "&f&lMistyczny Miecz OverLorda" to player
if {i.skrzynia.%player%} is 13:
add 1 diamond sword of unbreaking 90, sharpness 80 named "&b&lPotezny Orez Wybuchu Supernowej" to player
if {i.skrzynia.%player%} is 14:
add 1 diamond sword of unbreaking 95, sharpness 85 named "&b&lMiecz Niebios" to player
if {i.skrzynia.%player%} is 15:
add 1 diamond sword of unbreaking 100, sharpness 90 named "&b&lNajswietsze Ostrze Archaniola" to player
dodajcie do tego skryptu permisje tylko dla adma a dla gracz zeby mógł otwierać plz
Odnośnik do komentarza
Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi