I’ve ben trying to make the camera tween to another place and then make it stay there but the camera keeps resetting to it’s previous position. Anyone know any solutions??
local w = game:GetService("Workspace")
local ts = game:GetService("TweenService")
local cc = w.CurrentCamera
script.Parent.MouseButton1Click:Connect(function()
cc.CameraType = Enum.CameraType.Scriptable
local TI = TweenInfo.new(0.6, Enum.EasingStyle.Linear, Enum.EasingDirection.In, 0)
local g = {CFrame = w.Cameras.Loadout.CFrame}
local a = ts:Create(cc, TI, g)
a:Play()
a.Completed:Wait()
cc.CFrame = game.Workspace.Cameras.Loadout.CFrame
end)