I am learning to make Camera manipulation, i got this script from a you tuber, his video was made in jul/11/2017, i am not sure if its outdated because roblox studio, has been doing alot of updates. to get to the point why is this script not working it suppose to get the players camera but its not doing it.
local Player = game.Player.LocalPlayer
local Character = Player.Character or Player.CharcterAdded:wait()
local Camera = workspace.CurrentCamera
repeat wait()
Camera.CameraType = Enum.CameraType.Scriptable
until Camera.CameraType == Enum.CameraType.Scriptable
Camera.CFrame = workspace.CameraPart.CFrame

4 comments
has2b a localscr0pt? iz localscr0pt rite?
Yea, its a local script, i gor it from prezile on youtube
On line 8, you do have a part named “CameraPart”, right? If so, is it directly under Workspace or is it in something else?
It is directly in workspace