I trying to give health unless it moves.
This my code:
There is no error in this command but sometimes it gives heal, sometimes it does not give,
sometimes it is delayed.
This my code:
There is no error in this command but sometimes it gives heal, sometimes it does not give,
sometimes it is delayed.
Code:
on any move:
wait 1 seconds
set {_location} to location of player
wait 3 seconds
set {_check} to location of player
if {_check} = {_location}:
wait 5 seconds
send "Healing" to player
apply regeneration 5 to player for 1 seconds