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

In which situations do you want to use .Changed?

Asked by 8 years ago

Title says it all ^^

1 answer

Log in to vote
0
Answered by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
8 years ago

You'd use .Changed if you don't want to use a while loop. For example, if I have a TextLabel, and in that script, I have .Changed for when my leaderstat changes. In that same script, it also performs another function, such as seeing when a Player is added. .Changed is used on Objects, when one of their property changes. Hope I helped.

Ad

Answer this question