How to make the camera follow player's horizontal movement

I’m trying to make an old roblox simulator and i’m having trouble having the camera follow the player’s horizontal movement.

Here’s an example of what i mean(Game is 2007 roblox by ProximityPrxmpt):

I’ve tried changing the cameratype to follow but the effect stops after i move my camera with my mouse.

If anyone could help i would really appreciate it.

1 Like

Can you send the code that you have tried to do it with?

I don’t really know how roblox cameras work so i haven’t tried to use any code to fix it.