Trying to put the camera's position based on a part's CFrame but it is not working properly. I am not too sure why though, it does not error and it seems to me that it "worked" without actually changing anything, even though it should of. The camera does not change at all, it stays on the player. It is a local script in StarterPlayerScripts, the local script is running at the start of the game but does not change my camera. I've tried adding delays, putting it in startercharacterscripts, nothing changes the camera. Is there something I am missing?
local cam = workspace.CurrentCamera local part = workspace:WaitForChild("Part") cam.CFrame = part.CFrame cam.CameraType = Enum.CameraType.Track
local cam = workspace.CurrentCamera local part = workspace:WaitForChild("Part") cam.CameraType = Enum.CameraType.Scriptable cam.CFrame = part.CFrame