Hey, I'm really new to skript and have barley learn't the basics. I would appreciate help on my current skript as I'm not quite sure how to give a player a armour piece with a randomized protection level.
Heres my current skript If anyone could help it would be greatly appreciated:
Heres my current skript If anyone could help it would be greatly appreciated:
Code:
on script load:
set {predefined::*} to 1, 2 and 3
command /test3:
trigger:
set {_gen} to random number out of {predefined::*}
send "%{_gen}%"
make player wear diamond chestplate of protection {_gen}
