I've been trying to learn tween status but there is no example I could use. Could anyone give me an example of it? Thanks in advanced!
TweenStatus is an Enum that tells you whether a tween was completed or cancelled because another tween overwrote it. It's only used for GUI tweening.
local gui = ... local function tweenCallback(tweenStatus) if tweenStatus == Enum.TweenStatus.Canceled then print("tween was cancelled :(") elseif tweenStatus == Enum.TweenStatus.Completed then print("tween finished :)") end end gui:TweenSize(_, _, _, _, _, tweenCallback) --> When the tween stops, it'll call tweenCallback with a TweenStatus