Signals

After creating a new tween, you can listen to the following signals:

Example:

local tween = TweenPlus(workspace.Part, {Transparency = 1}, {Time = 2})
tween.Updated:Connect(function(alpha)
	-- Alpha is a value in the range 0-1.
	-- That's why we multiply by 100 to convert to percentage.
	print("Progress: "..tostring(alpha*100).."%") -- For example "Progress: 50%".
end)
tween:Start()

Last updated