Hey, I am trying to make a skript where if the players is wearing armor that contains the lore "&7Fear Aura I" it will increase your damage by 10% for each entity in range of the player. But the one problem is I don't know how find out how many entities are in range of the player, everything else is working, but line 6 has an error
Code:
on damage:
attacker is a player
victim is a player
if lore of attacker's helmet contains "&7Fear Aura I":
loop all entities in radius 5 of attacker:
for each entity in radius 5 of attacker:
increase damage by 10%