So I have a script that tweens something that takes a long time, like 20 seconds or so.
But then I have another tween that I want to make but it won't work because there is already a tween happening.
How would I stop the first tween so the second one can play?
Thanks!

6 comments
Are you using TweenService? Or GuiObject:TweenPosition?
:TweenPosition takes an override argument.
gui_object:TweenPosition(goal_position, goal_direction, goal_style, time, override, callback)Supply the fifth argument withtrue. This will override other currently playing tween.Mr. ProgrammerHere maybe post that as an answer but idk
I'd do what programmerHere said, but if you want it to just stop, I think you can use GuiObject:TweenPosition(GuiObject.Position, direction, style, 0, true).
you can (and should) use TweenService to use Tween:Cancel
Got it all and I'll try, tho I can't give rep to anyone. Thanks!