First, this is from player's script:
if motion == Vector2(0,0):
Engine.time_scale = 0.05
And here, from enemy script:
var player = get_parent().get_node("Player")
if can_chase == true:
position += (player.position - position)/50
look_at(player.position)
move_and_collide(motion)
I don't know why the enemy keep chasing the player with full speed. It supposed to slowdown just like rigidbody2D in the scene.