Upside Down Camera Script Not Working

Hello! I made a simple script to turn the players camera upside down. However when I run the game the camera no longer follows the player. It’s fixed in place and I don’t know how to fix it.

local Camera = workspace:WaitForChild("Camera")
wait(1)
Camera.CameraType = Enum.CameraType.Scriptable
Camera.CFrame *= CFrame.Angles(0, 0, math.rad(180))

I tried changing the camera subject, but it’s already set to humanoid
image

I don’t know what I can do to fix it. Anything helps!

1 Like

You made it scriptable, meaning the script has full control and it won’t control the character. Try this instead

local RunService = game:GetService("RunService")

local Camera = workspace.CurrentCamera --// Use CurrentCamera instead

RunService.RenderStepped:Connect(function()
	Camera.CFrame *= CFrame.Angles(0, 0, math.rad(180))
end)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.