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
 

Re: Output

Previous Thread :: Next Thread 
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 07:22 AM
Player:SaveNumber("Int "..Stats1[i].Name, Player:FindFirstChild(Stats1[i].Parent.Name):FindFirstChild(Stats1[i].Name).Value)

This is the error line.
It says: 'SaveNumber cannot be used in a LocalScript'.

But the strange thing is...it's not a local script.
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
15 Sep 2012 07:47 AM
Can't be. You are using a localscript.
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 08:32 AM
i'M NOT...
Report Abuse
Rukiryo is not online. Rukiryo
Joined: 04 Sep 2009
Total Posts: 1490
15 Sep 2012 08:45 AM
If it gave that error, you are using a localscript. The script that has the picture of the head on it. Stop telling us you aren't, you are. Eiher that or you're trying it in a solo test.
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 09:00 AM
Well, I used the errormonitoring ingame.
I know how a localscript looks like...
AND ITS A NORMAL SCRIPT
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
15 Sep 2012 09:14 AM
That's a localscript you're using because output doesn't usually lie and it would never lie about localscript.
Report Abuse
Rukiryo is not online. Rukiryo
Joined: 04 Sep 2009
Total Posts: 1490
15 Sep 2012 09:15 AM
Let's get a mod to remove this thread. Either this guy is trolling or is a complete idiot.
Report Abuse
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
15 Sep 2012 09:16 AM
We all know about output.
It makes mistakes.

It will say there is an error on line 11, and the error would be on nine or six.
I've had that happen before.

【MᴀssɪᴠᴇGᴍᴀɴ】 - MG inc™ Copyright 2012©
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
15 Sep 2012 09:30 AM
@Massive
Yea, but if he's ran it more than once, and it has the same output, chances are he's using a LocalScript
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 09:36 AM
I'm not trolling and I'm not stupid.
The output is wrong.
But I think it's just that I can't use :SaveNumber for IntValues.
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
15 Sep 2012 09:37 AM
*Facepalm* An integer is a number. A number is not always an integer.

Mind goes boom.
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
15 Sep 2012 09:38 AM
@Jo,
There should be no problem as the only problem would be using a NumberValue to save it and an IntValue to load it.
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
15 Sep 2012 09:39 AM
Another facepalm.

If you put in a number on an intvalue it will just get 0. So scripts dont crash.
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
15 Sep 2012 09:41 AM
@Jo
I know that you can't put a number on an IntValue
Because Integers are whole numbers only.
But it IS a number
So you CAN save it AS A NUMBER.
Report Abuse
jobro13 is not online. jobro13
Joined: 05 Aug 2009
Total Posts: 2865
15 Sep 2012 09:41 AM
Yea. You just repeated what I said.
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
15 Sep 2012 09:43 AM
...
Jo
You're suggesting the problem is that he's using :SaveNumber on an IntValue
I'm saying
You can use SaveNumber on ANYTHING that is a number (Which an integer is)
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 09:47 AM
Okay...
But what could be the problem?
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
15 Sep 2012 09:48 AM
you're using DP in a localscript
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 09:52 AM
DP?
Report Abuse
mamaguy is not online. mamaguy
Joined: 07 Oct 2010
Total Posts: 7073
15 Sep 2012 09:59 AM
....
LoadBoolean
LoadNumber
LoadString
LoadInstance
SaveBoolean
SaveNumber
SaveString
SaveInstance
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
15 Sep 2012 10:05 AM
DP = Data Persistence (if you do not know what this is...)
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 10:11 AM
I know what's datapresistance.
But I didn't understand DP.
BUT AGAIN IM NOT USING A LOCAL SCRIPT
Report Abuse
xXTheRobotXxAlt is not online. xXTheRobotXxAlt
Joined: 06 Jul 2012
Total Posts: 548
15 Sep 2012 10:12 AM
is this guy a troll

the output doesnt lie
Report Abuse
koen500 is not online. koen500
Joined: 23 Feb 2011
Total Posts: 2277
15 Sep 2012 10:13 AM
It does....
Report Abuse
Legend26 is not online. Legend26
Joined: 08 Sep 2008
Total Posts: 10586
15 Sep 2012 10:14 AM
If the script is in a hopperbin, you are because normal scripts becomee localscripts in hopperbins for some reason.
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