Game camera not working

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    A solution to the camera glitch issue

  2. What is the issue? Include screenshots / videos if possible!

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I’ve tried to figure out the issue with-in the scripts however I wasn’t able to find out where the problem occurred.

Does anyone have any solutions or have gone through this kind of problem before?

2 Likes

I am new to roblox studio but if you made CameraSubject Reset to Humanoid of the player after make camera Custom is can fix ?

I am with my phone i cant help more sorry :frowning:

1 Like

Try adding this on a localscript and placing it to StarterPlayerScripts.

local plr = game.Players.LocalPlayer
local camera = workspace.CurrentCamera
plr.CharacterAdded:Connect(function(char)
   camera.CameraSubject = char:WaitForChild("Humanoid")
end)

If that’s not the problem then maybe you forgot to change the camera subject to the humanoid of the character.

1 Like

If the camera is using a custom script, try placing it inside of StarterCharacterScripts instead of StarterGui or StarterPlayerScripts.

Placing it inside of StarterCharacterScripts binds the code of the camera to the character instead of the player, meaning when the character is reset the camera will also.

1 Like