animation in place

how to play an animation that is in the right location, because whenever i play the animation it not on the right place… example a monster died in front of me but then unity follows the place where i created the animation… it doesnt follow where the object plays the animation

Go to your animation, and remove keys that transform the x ,y & z axis.