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
 

Whats wrong with this tonumber()?

Previous Thread :: Next Thread 
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
11 Jan 2013 07:06 AM
All of the parents are lined up, but I can't get it to make this string a number.Value. No output.


while wait() do
script.Parent.Value.Value = tonumber(script.Parent.Text)
end
Report Abuse
itunes89 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
11 Jan 2013 08:18 AM
What do you mean, just assign the value like so.
num = script.Parent.Value.Value = tonumber(script.Parent.Text)
Report Abuse
Imaad3000 is not online. Imaad3000
Joined: 15 Dec 2011
Total Posts: 1245
11 Jan 2013 08:21 AM
Is Value nil?
Report Abuse
itunes89 is not online. itunes89
Joined: 19 Jan 2011
Total Posts: 1957
11 Jan 2013 08:23 AM
Yea print the value. What does it return?
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
11 Jan 2013 09:33 AM
Im on my phone at school. Does anyone know of a lua app that lets me run things through the output? If anyone does I can test this stuff out and make pokemon.
Report Abuse
FreeToTake is not online. FreeToTake
Joined: 21 Apr 2010
Total Posts: 1827
11 Jan 2013 09:56 AM
don't use your phone at school. You should be paying attention in class. (:
Report Abuse
Monkey727 is not online. Monkey727
Joined: 12 Jan 2009
Total Posts: 969
11 Jan 2013 09:58 AM

Change Parent.Value.Value to Parent["Value"].Value
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
11 Jan 2013 10:29 AM
This is the guy who made a program to do my hard homework and show the work. Do you really think I pay full attention durring class? I know whats going on and all though.
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