Camera does not follow hrp when I change the hrp's position

When I change the position of a character’s humanoidrootpart the camera does not follow. How would I make the camera follow the humanoidrootpart when changing the position?

Weird, the camera should follow the HumanoidRootPart. Can you show me the script that you are using?

I do not know if this is important but I call the module script from a localscript.

The problem is that this function only runs one, you should put this into a RenderStepped listener.

Is the camera type custom, if not make sure to set the camera type to custom

I figured out why it was not following. I changed the hrp’s position in a server script and the camera followed.