Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I stop a tween from another script?

Asked by
fcvrs 22
2 years ago

I have an ability in my game that tweens the character forward and whenever that character hits a player, I want the tween to stop. I already have the script for detecting when the character is hit, but I don't know how I can stop the tween from the script that detects the player. I don't think it's possible to have both these scripts inside of one script.

1 answer

Log in to vote
0
Answered by 2 years ago

Hiya, I don't want to be the sour apple, but could you please look up for answers?

Here's a devforum post highlighting what you want to accomplish https://devforum.roblox.com/t/is-there-a-way-to-stop-a-tween-from-another-scirpt/950216

Ad

Answer this question