I have a custom 3rd person camera script and I am trying to rotate the camera but I dont really know how id go about that.
Heres the script
function GuiOpened()
if Player.PlayerGui.ScreenGui.Crafting.Enabled.Value == true then
game.Players.LocalPlayer.Character.Humanoid.CameraOffset = Vector3.new(-5,1,0)
end
end
game:GetService("UserInputService").InputBegan:Connect(OnKeyPress)
Player.PlayerGui.ScreenGui.Crafting.Enabled.Changed:Connect(GuiOpened)
There is more to it but that is just the stuff I think it important to this question.
I am trying to when that function runs also rotate the camera a certain way but I dont know how id go about doing this since I am using a vector3 and not a Cframe.
Anyone have any ideas?

1 comment
Why dont u wanna use CFrame tho?