I zrobiłeś to niepoprawnie, tak, jakby ten pierwszy skrypt nie był twoją własnością.
Najpierw wszystko z random integerem jest dobrze, ale w następnej aktualizacji jest już źle.
set {RandomSet.%player%} to a random integer from 1 to 12
Gdy gracz wylosuje 2 to dostanie
if {RandomSet.%player%} is 2:
give a 276 of sharpness 6 and fire aspect 5 named "&9&l MIECZYK" to the player
if {RandomSet.%player%} is 2:
give a 57 named "&9&l DIAMENTOWE BLOKI" to the player
if {RandomSet.%player%} is 2:
give a 278 of efficiency 8 and fortune 6 named "&9&l KILOF 2" to the player
if {RandomSet.%player%} is 2:
give a 276 of sharpness 9 and fire aspect 7 named "&9&l MIECZYK 2" to the player
if {RandomSet.%player%} is 2:
give a 138 named "&9&l BEACON" to the player
Poza tym skrypt nawet nie zadziała przez to:
command /Skrzynka :