My code is supposed to mimic shift lock. But the camera is not changing for some reason. Could someone please help me out?
Here is my code:
local camera = game.Workspace.CurrentCamera
local player = game.Players.LocalPlayer
-- Listen for the player's character changing
player.CharacterAdded:Connect(function(character)
wait(5)
print("here")
print(camera.CFrame)
camera.CFrame = camera.CFrame * CFrame.new(1.7,0,0)
print(camera.CFrame)
end)

1 comment
I figured this out but how do i make the camera follow the player