local openSize = UDim2.new(0.52, 0, 0.52, 0)
local openTween = TweenInfo.new(0.4, Enum.EasingStyle.Back, Enum.EasingDirection.Out)
local closeTween = TweenInfo.new(0.25, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
local frameCooldown = false
OpenRebirth.Activated:Connect(function()
if frameCooldown then return end
if RebirthFrame.Visible then
local closeAnimTween = TweenService:Create(RebirthFrame, closeTween, {Size = UDim2.new(0, 0, 0, 0)})
closeAnimTween:Play()
closeAnimTween.Completed:Wait()
RebirthFrame.Visible = false
else
RebirthFrame.Visible = true
local openAnimTween = TweenService:Create(RebirthFrame, openTween, {Size = openSize})
openAnimTween:Play()
openAnimTween.Completed:Wait()
end
frameCooldown = false
end)
In the clip everything tweens away but the things in RequirementFrame (with UiListLayout) does not tween. If anyone know how to fix that please tell me.