|
| 01 Sep 2015 09:14 PM |
like
local value = what
function doSomething()
end
value.Changed:connect(doSomething) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Sep 2015 09:15 PM |
Here's a weird way of doing it:
local value = Instance.new("IntValue") function doSomething() end value.Changed:connect(doSomething)
And to change 'value' you would do value.Value = blah |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2015 09:16 PM |
I thought of that wish i didnt have to make an instance
:[ |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Sep 2015 09:16 PM |
| Well you should know when you change the value of 'value' (...) so just call a function after every time you change it? |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2015 09:18 PM |
actually i might just use those fat bindable events ok |
|
|
| Report Abuse |
|
|