loop {_survivor::*}:
teleport loop-value to {survivor.spawn}
if {exp.%loop-value%} < 5:
add 1 iron sword to {_survivor::*}'s inventory
add 1 bow of punch 1 to {_survivor::*}'s inventory
add 12 arrows to {_survivor::*}'s inventory
set {_survivor::*}'s helmet to iron helmet
set {_survivor::*}'s chestplate to iron chestplate
if {exp.%loop-value%} >= 5 :
if {exp.%loop-value%} < 10:
add 1 iron sword to {_survivor::*}'s inventory
add 1 bow of punch 1 to {_survivor::*}'s inventory
add 16 arrows to {_survivor::*}'s inventory
set {_survivor::*}'s helmet to iron helmet
set {_survivor::*}'s chestplate to iron chestplate
Hello, im trying to make a skript that gives the survivor different armor based on their level. But when I use this skript it gives me the items of all the players looped. Anyone know how to give each loop-player a different set of armor based on their level.
teleport loop-value to {survivor.spawn}
if {exp.%loop-value%} < 5:
add 1 iron sword to {_survivor::*}'s inventory
add 1 bow of punch 1 to {_survivor::*}'s inventory
add 12 arrows to {_survivor::*}'s inventory
set {_survivor::*}'s helmet to iron helmet
set {_survivor::*}'s chestplate to iron chestplate
if {exp.%loop-value%} >= 5 :
if {exp.%loop-value%} < 10:
add 1 iron sword to {_survivor::*}'s inventory
add 1 bow of punch 1 to {_survivor::*}'s inventory
add 16 arrows to {_survivor::*}'s inventory
set {_survivor::*}'s helmet to iron helmet
set {_survivor::*}'s chestplate to iron chestplate
Hello, im trying to make a skript that gives the survivor different armor based on their level. But when I use this skript it gives me the items of all the players looped. Anyone know how to give each loop-player a different set of armor based on their level.