generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How does .Changed work?

Previous Thread :: Next Thread 
devTools is not online. 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
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
28 Dec 2014 09:41 PM
when ever a property of that invalue is changed it will fire the code
Report Abuse
devTools is not online. 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 is not online. 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 is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
29 Dec 2014 08:41 PM
It is the value property.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image