I know how to change the camera subject but when I set the camera subject back to the HumanoidRootPart, the camera is slightly off. I tried moving the HumanoidRootPart but that breaks everything. Is the HumanoidRootPart where the camera was first at?

local script:

local plr = game.Players.LocalPlayer
local char = plr.Character or plr.CharacterAdded:wait()
local hum = char:WaitForChild("HumanoidRootPart")
local cam = workspace.CurrentCamera
local part1 = workspace:WaitForChild("Part1")

cam.CameraSubject = part1
wait(5)
cam.CameraSubject = hum

2 comments

0

Post the script

0

Ok I did