ok so I was editing this skript I found so it would shoot lightning and I wanted it to find all entities in a 10 block radius and strike lightning this is the skript
on shoot:
if name of shooter's held item is "&Test":
if {ts.delay::%shooter%} is not 1:
loop all living entities in radius 10 around shooter's target block:
loop 5 times:
strike lightning at loop-entity
wait 10 ticks
set {ts.delay::%shooter%} to 1
wait 5 seconds
set {ts.delay::%shooter%} to 0
but it gives an error saying:
"There is no loop that matches "loop-entity's location"" im not that good so anything will help
on shoot:
if name of shooter's held item is "&Test":
if {ts.delay::%shooter%} is not 1:
loop all living entities in radius 10 around shooter's target block:
loop 5 times:
strike lightning at loop-entity
wait 10 ticks
set {ts.delay::%shooter%} to 1
wait 5 seconds
set {ts.delay::%shooter%} to 0
but it gives an error saying:
"There is no loop that matches "loop-entity's location"" im not that good so anything will help