How do you make Force Shiftlock cam?

I want camera lock system like anime battle arena, when you run character will face to move direction like this

3 Likes

If you want to force enable Shift Lock, this Topic might help you:

Try this:

local plr = game.Players.LocalPlayer
local char = plr.Character
local hrp = char:WaitForChild("HumanoidRootPart")
local UIS = game:GetService("UserInputService")
local CC = game.Workspace.CurrentCamera

game:GetService("RunService").RenderStepped:Connect(function()
	if UIS.MouseBehavior ~= Enum.MouseBehavior.LockCenter then
		UIS.MouseBehavior = Enum.MouseBehavior.LockCenter
	end
	
		local pos = hrp.Position + Vector3.new(CC.CFrame.LookVector.X, 0, CC.CFrame.LookVector.Z)
		
		hrp.CFrame = CFrame.new(hrp.Position, pos)
end)
7 Likes

BodyGyro isn’t as smooth and looks weird when rotating your camera.

1 Like