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 » Scripting Helpers
Home Search
 

Using .Changed on bools

Previous Thread :: Next Thread 
skate1011 is not online. skate1011
Joined: 13 Mar 2010
Total Posts: 688
27 Oct 2012 01:00 PM
For some reason this snippet of code isn't working and the output is saying that I can't preform .Changed on the value. I've used .Changed like this before, but it's not working.

nollie = script.Nollie
nollie.Value.Changed:connect(function() end)

wiki.roblox.com
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
27 Oct 2012 01:01 PM
nollie = script.Nollie
nollie.Changed:connect(function() end)
Report Abuse
DrChillingworth is not online. DrChillingworth
Joined: 25 Oct 2012
Total Posts: 18
27 Oct 2012 01:02 PM
Have you tried nollie.Changed instead? That is how you use .Changed on bricks, at least. It returns the property that changed.
Report Abuse
skate1011 is not online. skate1011
Joined: 13 Mar 2010
Total Posts: 688
27 Oct 2012 01:03 PM
Is the value or property returned?

wiki.roblox.com
Report Abuse
DrChillingworth is not online. DrChillingworth
Joined: 25 Oct 2012
Total Posts: 18
27 Oct 2012 01:03 PM
I think the property.
Report Abuse
skate1011 is not online. skate1011
Joined: 13 Mar 2010
Total Posts: 688
27 Oct 2012 01:06 PM
Hmm. How would I check what property is changed? Like this:
nollie.Changed:connect(function(prop)

end)

wiki.roblox.com
Report Abuse
skate1011 is not online. skate1011
Joined: 13 Mar 2010
Total Posts: 688
27 Oct 2012 01:07 PM
I have this:
nollie.Changed:connect(function()
if nollie.Value == false then
end
end)


wiki.roblox.com
Report Abuse
ServiceDude is not online. ServiceDude
Joined: 21 Oct 2012
Total Posts: 48
27 Oct 2012 01:07 PM
nollie.Changed:connect(function(prop)
if prop.Name == "Value" then
--code
end

end)
Report Abuse
crazyman32 is not online. crazyman32
Joined: 13 Apr 2008
Total Posts: 18027
27 Oct 2012 01:32 PM
.Changed breaks in the BoolValue when you keep testing and resetting in Studio.

Try going to Tools ​> Test ​> Play Solo instead
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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