How can I remove the camera zoom's sine-like "easing style" to a constant one? (Like 2016's zoom)

I’m creating a game based on the 2016’s Roblox client and I want to achieve a zoom in/out effect that looks pretty similar to the old zoom mechanic.

I already got something close to what I want but I still can’t remove the smooth zoom:

--(This is a script located in game.StarterPlayer.StarterPlayerScripts)
local t
local tcf
local inf = TweenInfo.new(0.1, Enum.EasingStyle.Linear, Enum.EasingDirection.In)
game.Players.LocalPlayer:GetMouse().WheelForward:Connect(function()
	tcf = workspace.CurrentCamera.CFrame * CFrame.new(0, 0, -5)
	t = game["TweenService"]:Create(workspace.CurrentCamera, inf, {CFrame = tcf})
	t:Play()
end)
game.Players.LocalPlayer:GetMouse().WheelBackward:Connect(function()
	tcf = workspace.CurrentCamera.CFrame * CFrame.new(0, 0, 5)
	t = game["TweenService"]:Create(workspace.CurrentCamera, inf, {CFrame = tcf})
	t:Play()
end)

Btw this is my first topic and I’m really thankful for this community’s help and support. Thank you guys!

1 Like