How to tween smoothly a gui like how Roblox tweens smoothly their gui?

I’ve been trying to replicate the tween roblox uses on their gui, but I can’t
find out how it is so smooth.

Well I did came to find a smooth way to tween a gui. Which is this:

local TweenService = game:GetService("TweenService")

local TweenInfo_ = TweenInfo.new(1.2, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
local UI_Tween = TweenService:Create(script.Parent, TweenInfo_, {Position = UDim2.new(0.5, 0, 0.5, 0)})

UI_Tween:Play()

But it’s not as smooth as how roblox tweens their gui.
Is there a way to replicate it? Thanks in advance!

send video please

local TweenService = game:GetService("TweenService")

local UI_Tween = TweenService:Create(script.Parent, 
	TweenInfo.new(
		.45, 
		Enum.EasingStyle.Quad, 
		Enum.EasingDirection.Out
	), 
	{
		Position = UDim2.new(0.5, 0, 0.5, 0)
	}
)

UI_Tween:Play()
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.