local function TweenOut(frame)
frame:TweenPosition(UDim2.new(0,0,-1,0), 'InOut','Exponential',1,false)
coroutine.wrap(function()
yield(1)
frame.Position = UDim2.new(0,0,1,0)
end)
return true
end
local function TweenIn(frame)
frame:TweenPosition(UDim2.new(0,0,0,0), 'InOut','Exponential',1,false)
return true
end
Whenever I do tweens I refer to the EastingStyle and EastingDirection using the Enum. So in your use it would be Enum.EasingStyle.Exponential and Enum.EasingDirection.InOut. I’m not sure if this is the definitive solution but since the object is moving I would think the source of the issue to be in the TweenInfo. But I may be wrong since the DevForum seems to not use Enums when you’re tweening objects outside of the TweenService.