Signals
You can enable signals by installing a signal library.
Makes sure to tag the module Signal
.
Each tween will have the following signals:
Example usage:
local tween = Tween(workspace.Part, {Transparency = 1}, {Time = 2})
tween.Updated:Connect(function()
-- Alpha is in the range 0-1, so we multiply by 100 to get the percentage.
print("Progress: "..tween.Alpha*100.."%") -- For example "Progress: 50%".
end)
tween:Start()
Last updated