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: ??

Previous Thread :: Next Thread 
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
14 Jul 2013 10:21 PM
It saying (Invalud number of arguments 8) on this line:


local icf = CFrame.new(loadstring('return ' ..string.sub(loaded, found+1, 100))())

Alrighty, so loaded is:

local loaded = player:LoadString(itemname)

Which is

"CircleStand:-18.7999992, 2.19000006, -41.6500015, 1, 0, 0, 0, 1, 0, 0, 0, 1"

And found is

local found = string.find(loaded, ":")

Any ideas? :O
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Jul 2013 10:34 PM
Remove ', 100'
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
14 Jul 2013 10:34 PM
nump
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
14 Jul 2013 10:38 PM
@not, i did.
Report Abuse
Notunknown99 is not online. Notunknown99
Joined: 05 Sep 2008
Total Posts: 25360
14 Jul 2013 10:38 PM
Then why is it there?
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
14 Jul 2013 10:39 PM
I meant in my most recent build.
Report Abuse
ScriptOn is not online. ScriptOn
Joined: 22 Aug 2010
Total Posts: 10885
14 Jul 2013 10:41 PM
Oh it DID work.

Thanks for helping me out a bunch today! :)

Today I accomplished:

Instead of saving things to a CFrameValue using SaveInstance, I`m using SaveString to save the same data :D

Do you have any idea how much space that might have taken up? I tried looking it up but I don't understand this too well.
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