Soo i have a prob with the Gui, bdw dont blame me beacuse i use format, it always works 4 me.
Code:
Error:
I know the issue is comming from {_Amount.%{_P}%} but i dont know a diffren way to make random items in the same slot
Code:
code_language.skript:
function Looting(P: player):
open chest with 3 rows named "&lCrate" to {_P}
set {_Amount.%{_P}%} to random integer between 1 and 35
format slot {Slots.%{_P}%} of {_P} with {_Amount.%{_P}%} gray dye named "&eRifle Ammo" to be unstealable
add 1 to {Slots.%{_P}%}
Error:
code_language.skript:
Can't undertand this condition/effect: format slot {Slots.%{_P}%} of {_P} with {_Amount.%{_P}%} gray dye named "&aRifle Ammo" to be unstealable
I know the issue is comming from {_Amount.%{_P}%} but i dont know a diffren way to make random items in the same slot
Last edited: