Need Help with Camera

I want to make a camera like this but I dont know how.
robloxapp-20220417-1508118.wmv (1.3 MB)
Please help if you can.

1 Like

So… you want it locked so you can’t rotate it?
That’s what I think you mean.

yes, if you can please show me the code or tell me how thank u

I tried it, and although I’m not good at camera manipulation I think setting the CameraType to Orbital is what you should try. Just need to disable camera rotation somehow.

You could maybe set the CurrentCameras’ type to Scriptable and using the Player’s RootPart to set the Camera to an angle using a Vector3. Connect RunService.RenderStepped to the function and yeah

i made something like this a while ago, if you play around with some things it may work how you want it

local RunService = game:GetService("RunService")

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local camera = game.Workspace.CurrentCamera

local active = true

	if active then
		if character then
			local primary = character.PrimaryPart
			camera.CFrame = +,5,0),primary.Position)
			camera.CameraType = Enum.CameraType.Scriptable
		if character then
			camera.CameraType = Enum.CameraType.Custom

1 Like

I tried using this but still wont work

Wait nvm it works now, turns out scripts in workspace doesn’t work

i forgot to mention that it needs to be a localscript in either starterplayerscripts or startergui