my multiplayer networking HealthBar moves inwards not right to left

when I shoot the enemy his health go’s down, but his healthbar go’s inward. does anyone know why?
I set my anchor to middle left, like the tutorial said.

nvm I figured it out, I forgot to set the pivot point