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

Is there a way to make a tween run forever?

Asked by 5 years ago
Edited 5 years ago

I've tried to use while loops but it doesn't work. Whenever i use tween:play it plays it over and over before letting the tween finish

Is there a way to make it tween forever besides while loops or am i doing something wrong with my while loop?

2 answers

Log in to vote
1
Answered by 5 years ago
Edited 5 years ago

When creating the TweenInfo object you can set the RepeatCount field to a negative number to make the tween repeat indefinitely.

If this uses another tween function then you will need to use events to replay the tween.

0
what does "i this us" mean GamingOverlord756 48 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

All you need to do is when providing parameters about the tween, set the RepeatCount to an extremely high number.

Answer this question