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
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 15 Sep 2012 07:47 AM |
| Can't be. You are using a localscript. |
|
|
| Report Abuse |
|
|
koen500
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 2277 |
|
| |
|
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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 15 Sep 2012 09:41 AM |
| Yea. You just repeated what I said. |
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 2277 |
|
|
| 15 Sep 2012 09:47 AM |
Okay... But what could be the problem? |
|
|
| Report Abuse |
|
|
mamaguy
|
  |
| Joined: 07 Oct 2010 |
| Total Posts: 7073 |
|
|
| 15 Sep 2012 09:48 AM |
| you're using DP in a localscript |
|
|
| Report Abuse |
|
|
koen500
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 2277 |
|
| |
|
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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 15 Sep 2012 10:12 AM |
is this guy a troll
the output doesnt lie |
|
|
| Report Abuse |
|
|
koen500
|
  |
| Joined: 23 Feb 2011 |
| Total Posts: 2277 |
|
| |
|
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 |
|
|