Can i fix camera lock for character's head?

i cant explain much, but as you can see from the video below. It Works Fine Until I Reset My Charactrer, and somehow the character movement is bugged

yea its anchored, massless, and cancollide off

1 Like

We can’t help with no information on how this works.

so, the script that makes “grey” part follows “HumanoidRootPart” Position is

game:GetService('RunService').Heartbeat:Connect(function()
	workspace:WaitForChild(p.Name):WaitForChild('Humanoid').JumpPower = 0
	workspace:WaitForChild('humanfollow').Position = workspace:WaitForChild(p.Name):WaitForChild('HumanoidRootPart').Position
	workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
	workspace.CurrentCamera.CameraSubject = workspace:WaitForChild('humanfollow')
	game:GetService('TweenService'):Create(workspace.CurrentCamera,TweenInfo.new(.3),{CFrame = workspace:FindFirstChild('humanfollow').CFrame * CFrame.Angles(math.rad(-90),0,0) * CFrame.new(0,0,10)}):Play()
	workspace.desc.Position = workspace.humanfollow.Position + Vector3.new(0,0,3.6)
end)

basically it loops for the humanoids position
humanfollow = the grey part

Are there any parts of the game where the player could end up dying?

nope, not a single kill brick. ------------

Put this in a LocalScript in StarterGui and you shouldn’t have to worry about this being an issue:

game:GetService("StarterGui"):SetCore("ResetButtonCallback",false)

thx for the help ---------------

Mark it as the solution so people know this has been resolved.

its not resolved yet, sometimes it works and sometimes not

maybe this demo project might help
Camera.rbxl (34.5 KB)


and this is the script inside the project

local character = script.Parent
local camera = workspace.CurrentCamera
local offset = Vector3.new(0, 20, 0)

camera.CameraType = Enum.CameraType.Scriptable

game:GetService('RunService').Heartbeat:Connect(function()
	camera.CFrame = CFrame.fromMatrix(character:GetPivot().Position + offset, Vector3.xAxis, -Vector3.zAxis, Vector3.yAxis)
end)
1 Like

idk if this will last. Thx for the help ima use this for solution. again thx :+1: