Hi there. When the tween activates, it does not stop until it is completed. How would I go as to stop the tween, while it is running? Thanks!
local function executeAfter(complete)
replicatedstorge:WaitForChild("Mining"):FireServer(cursorObject,damage)
progress.Size = UDim2.new(0,0,1,0)
hit = false
end
local tween2 = progress:TweenSize(
UDim2.new(1,0,1,0),
Enum.EasingDirection.Out,
Enum.EasingStyle.Linear,
2,
false,
executeAfter
)

2 comments
Do you mean to reset the tween or just completely stop it where it is?
To reset it. Hmm, I should have worded it as such. Sorry about that.