obj
Fire
icon ='Dark.dmi'
layer = 9
Crossed(O)
for(var/mob/M in orange(0,src))
world<<"Your are in a damage area!"
O.HP - 10
sleep(10)
Problem description:
I am trying to make and object work to where if you are stepping in it, it will damage you every second for as long as you are under it. But it will only run the for loop once.
Not sure how Crossed works (never used it) you can try Enter() or Entered()