thanksUnder the first end, add this
doSendMagicEffect(targetPosition, CONST_ME_ENERGYHIT)
Aff didn't see that "for"He said "move the end under onThink under return true"
So...
Code:local fromPositions = { {x = 1019, y = 995, z = 12}, {x = 1013, y = 995, z = 12}, {x = 1019, y = 1001, z = 12}, {x = 1013, y = 1001, z = 12} } local targetPosition = {x = 1016, y = 998, z = 12} function onThink(interval, lastExecution) for _, fromPosition in pairs(fromPositions) do doSendDistanceShoot(fromPosition, targetPosition, CONST_ANI_ENERGY) end return true end