devTools
|
  |
| Joined: 06 Sep 2014 |
| Total Posts: 7950 |
|
|
| 28 Dec 2014 09:38 PM |
So if I have an IntValue named Time and I do this:
game.Workspace.Time.Changed:connect(function()
end)
Will that fire every time the "Time" is changed? Thanks.
|| devTools | get out me mooms car | broom broom || |
|
|
| Report Abuse |
|
|
|
| 28 Dec 2014 09:41 PM |
| when ever a property of that invalue is changed it will fire the code |
|
|
| Report Abuse |
|
|
devTools
|
  |
| Joined: 06 Sep 2014 |
| Total Posts: 7950 |
|
|
| 28 Dec 2014 09:41 PM |
Okay thanks.
|| devTools | get out me mooms car | broom broom || |
|
|
| Report Abuse |
|
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 28 Dec 2014 10:18 PM |
"when ever a property of that invalue is changed it will fire the code" Only when the value property value is changed it will fire the function. That's an important difference between value objects and most other objects.
|
|
|
| Report Abuse |
|
|
devTools
|
  |
| Joined: 06 Sep 2014 |
| Total Posts: 7950 |
|
| |
|