function onThink(interval, lastExecution, thinkInterval)
local Tile={
[1]={x=1000,y=1000,z=7}, ---- Change this for the correct coordinate of your tile
[2]={x=1000,y=1000,z=7}, --- ""
[3]={x=1000,y=1000,z=7}, --- ""
[4]={x=1000,y=1000,z=7}, --- ""
[5]={x=1000,y=1000,z=7}, --- ""
[6]={x=1000,y=1000,z=7}, --- ""
[7]={x=1000,y=1000,z=7}, --- ""
[8]={x=1000,y=1000,z=7}, --- ""
[9]={x=1000,y=1000,z=7}, ---""
[10]={x=1000,y=1000,z=7} --- ""
}
local Min,Max=100,200 ---- the min and max value of healing!!!!!!
for i=1,#Tile do
local thing = getThingFromPos({x=Tile[i].x, y=Tile[i].y, z=Tile[i].z, stackpos=253})
doSendMagicEffect(Tile[i],CONST_ME_FIREWORK_YELLOW)
if (isPlayer(thing.uid)) then
doCreatureAddHealth(thing.uid, math.random(Min,Max))
end
end
return true
end