How do I lock my camera in the current position?

Hello! I want to know how can I lock my camera in the current position that it is, making my character unmoveable, and the camera anchored in the position that it stoped. Thanks!

To lock the Camera all you have to do is set the Current Camera’s Type to Scriptable locally:

local currCam = workspace.CurrentCamera
currCam.CameraType = Enum.CameraType.Scriptable

To lock the Players movement you can set the WalkSpeed and JumpPower to 0 in the Player’s Humanoid also locally:

local plr = game.Players.LocalPlayer
local humanoid = plr.Character:WaitForChild("Humanoid")

humanoid.WalkSpeed = 0
humanoid.JumpPower = 0
1 Like

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