You never answered this, even though this is where the whole issue lies. It works in StarterCharacterScripts
, not in StarterGui
or StarterPlayerScripts
because camera behaviour updates everytime you get a new character, and your code is usually executed before the Roblox internal camera code.
1 Like
It is most likely a problem with setting the CFrame, not the CameraType since it printed correctly. If you replace the tree log CFrame, with
CFrame.new(Vector3.new(0,0,0))
,does it do anything?
In this case, the Tree Log object you are referencing, must not have a valid CFrame property. Are you sure it is a Part or MeshPart?
1 Like
Oh its working now so dont worry about me, thanks for the help
1 Like