ID:158140
 
1. How often is stat called?
2. Can you put other procs besides statpanel in Stat()?
If you're thinking of putting something that uses an infinite loop, don't use Stat(). That's really not what it's for.

There's probably an article about or containing info about Stat().
In response to Kaiochao
What i was doing was i was going to make a clever interface system that revolved around changing labels and doing away with statpanels and i thought that I would put it in Stat()
In response to Neos300
If the labels represent what the statpanels would otherwise represent, then Stat() is sort of a half-appropriate (or a quarter, maybe) place for this.

As a technical answer to your question, yes. Stat() is just a normal old function in most respects. You can do whatever you want in it as in others. The reverse is not true though, as some things you can do in Stat() you cannot do elsewhere; that is, stat() and statpanel() can only be used from within Stat().

As a logical answer to your issue, you would probably be better off changing the labels when something in-game happens to cause the contents to change.