Hey guys! I'll explain the script below, what u need to concentrate there that it casts a ray when there's a left mouse click and the tag is terrain, so it goes to the hit.point, if the tag is "monster" it goes the monster's.position, but the problem is that when I click on the monster's tag its speed increases like mulplies 5 times faster.
I have no idea why it happends, can anyone tell me why?
Also, I tried adding * Time.deltaTime(near the speed) in the `Move` function, and it goes okay to the monster's position, but when I hit the terrain's tag it goes to that hit.point faster.