Camera Manipulation Help

What Im Making:
A phone gui with a camera feature where it changes your camera view to your phone Tool (to mimic recording on a phone)
The Issue:
ive tried a few solutions but the farthest I’ve got is just making the camera freeze in place
What I Want:
I want the players camera to move with the part I set it too in first person (the camera locked to the part its set too in first person)

	if cameraApp.Border.Flip.Rotation == 0 then
		wrkspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable
		wrkspace.CurrentCamera.CameraSubject = plr.Character.Phone.Handle
		wrkspace.CurrentCamera.CFrame = CFrame.new(plr.Character.Phone.Handle.Position, plr.Character.Phone.Handle.Position)
	end
	if cameraApp.Border.Flip.Rotation == 180 then
		wrkspace.CurrentCamera.CameraType = Enum.CameraType.Custom
		wrkspace.CurrentCamera.CameraSubject = plr.Character.Humanoid
	end

You are only setting the CFrame once. So you want to keep setting a new CFrame while the phone is equipped (Put this in that rotation == 0 thing)

local phoneconnection = RunService.RenderStepped:Connect(function()
   wrkspace.CurrentCamera.CFrame = CFrame.new(plr.Character.Phone.Handle.Position,plr.Character.Phone.Handle.Position)
end)
phone.Unequipped:Connect(function()
   phoneconnection:Disconnect()
end)

Yep this solution is my 50th. :laughing:

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