#Camerasubject

1 messages · Page 1 of 1 (latest)

mighty oasis
#

is there a way to make the camera subject head so it follows the head in animations while not breaking shiftlock

local Players = game:GetService("Players")
local player = Players.LocalPlayer
local camerathing = workspace.CurrentCamera

local function setCameraToHead(character)
local head = character:WaitForChild("Head")
camerathing.CameraSubject = head
camerathing.CameraType = Enum.CameraType.Custom
end

player.CharacterAdded:Connect(function(char)
char:WaitForChild("Head")
setCameraToHead(char)
end)