Any time I put in my top-down camera script into a player, the controls are unresponsive. Is there any way for me to lock the camera into position or somthing else?
local cam = game.Workspace.CurrentCamera
cam.CameraType = "Attach"
function follow()
cam.CoordinateFrame = CFrame.new(game.Players.LocalPlayer.Character.Torso.Position) * CFrame.Angles(0, 80, 0) * CFrame.new(0, 20, 0)
end
while wait() do
follow()
end

1 comment
How do you want to lock it? Set the type to "Scriptable" if you want to stop all movement.