Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would you reset the camera's position on the R15 HumanoidRootPart?

Asked by 6 years ago
Edited 6 years ago

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
0
Post the script User#17125 0 — 6y
0
Ok I did InfernoExeuctioner 126 — 6y

Answer this question