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 » Scripters
Home Search
 

Re: Custom Function[USEFUL]

Previous Thread :: Next Thread 
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 01:36 PM
local DP_stats = {};
local q = 1
local plr = game.Players.LocalPlayer
local JS = assert(LoadLibrary("RbxUtility"))
function x(o)
t = o:GetChildren()
for _,v in ipairs (#t) do
print(v..'Instances in the parent)
wait(q/3)
table.insert(DP,v.Name) -- Hmm
end
local PH = JS.EncodeJSON(DP_stats)
end

repeat wait() until plr.Backpack ~= nil
x(plr.Backpack) -- Usage

It saves the name of the items in the DP_Stats table, any questions, if so report all errors to me.

I made this without studios.
Report Abuse
davisky2 is not online. davisky2
Joined: 04 Mar 2012
Total Posts: 4710
16 Jan 2015 01:39 PM
"I made this without studios."

Yes, of course, you made it in one studio. :P
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 01:39 PM
It works with literally anything it finds it's children with and stores it.

-- Made by HexC3D
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
16 Jan 2015 01:41 PM
He used a deprecated method! BURN HIM!

For your info, using RbxUtility for JSONs is deprecated.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 01:41 PM
xD,I live in the past, I can change it if you want.
Report Abuse
KOTwarrior is not online. KOTwarrior
Joined: 13 Jun 2012
Total Posts: 4376
16 Jan 2015 01:42 PM
+ you could just store the table without JSON.
DS has a built-in JSON conversion for tables.
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
16 Jan 2015 01:42 PM
I don't really care either way. :\
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 01:43 PM
I felt lazy, but I can change the formatting if you want.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:02 PM
It's useful..? Eh.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:07 PM
Anyone else find it useful?
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:08 PM
This can be used for inventory GUI's, if you change it properly.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:12 PM
Has anyone tested it?
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:16 PM
No more scripts are coming from me unless it's a dire situation for me or someone I know.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:17 PM
Lack of appreciation.
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
16 Jan 2015 02:20 PM
------------[ Cust0m Functon Use(full) Make(d) By <~Rob0tm3g4~> D0 N0t Copy }-----------------------------------

local DP_stats_robot = {};
local q = 1
local plr = game.Players.LocalPlayer
local JS = assert(LoadLibrary("RbxUtility"))
function x(o)
t = o:GetChildren()
for _,v in ipairs (#t) do
print(v..'Instances in the parent)
wait(q/3)
table.insert(DP,v.Name) -- Hmm
end
local PH = JS.EncodeJSON(DP_stats_robot)
end

repeat wait() until plr.Backpack ~= nil
x(plr.Backpack) -- Usage

--BY ROB0tm4g4
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:20 PM
Robot stop copying and get out..
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:22 PM
Robot you're going so low right now but I don't really care, this is open source.


Robot also you're sort of failing at this copying stuff just like your other games.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:23 PM
I bet your game are copied to now, I used to assume you were legit.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:24 PM
games*
Report Abuse
eLunate is not online. eLunate
Joined: 29 Jul 2014
Total Posts: 13268
16 Jan 2015 02:25 PM
Hex you seem really butthurt over the obvious troll lol.
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
16 Jan 2015 02:26 PM
lol wtf are u even talking about it was an obvious joke but dont worry its ok for scripting noobs to have a big ego, respect your superiors
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:26 PM
I'm not, I'm just a bit over protective about my posts, this is why I don't post any vulnerabilities with Roblox catalog purchases.
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:28 PM
'Scripting Noobs', Are we on the same page or even on the same book?
Report Abuse
HexC3D is not online. HexC3D
Joined: 30 Jun 2012
Total Posts: 10044
16 Jan 2015 02:29 PM
Your ego is at an unhealthy level, respect me.
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
16 Jan 2015 02:32 PM
why are you still talking you already laerned your place i have no need to waste more time on you
*looks at name*
*looks at primary group*
*looks at groups*
dang dude almost died climbing up your ego and falling your iq

bye loser
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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