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: JSONEncode Error

Previous Thread :: Next Thread 
ASCORE is not online. ASCORE
Joined: 19 Oct 2013
Total Posts: 246
31 Jan 2014 09:48 PM
--Script:

local url = URLREMOVEDBECAUSEOFFILTER
local serv = game:GetService("HttpService")
local data = serv:JSONEncode(Roblox_Status('7368818'))
local out = serv:PostAsync(url,data)
print(out)

--Error
--Roblox_Status returned a nil value.

--Reason is because it is looking for "Roblox_Status in my script, but I do not
--want it to look for it in my script, I want it to look in my PHP file on my
--website. Anyway to call Roblox_Status without getting an error?
Report Abuse
ASCORE is not online. ASCORE
Joined: 19 Oct 2013
Total Posts: 246
31 Jan 2014 10:00 PM
Bump
Ill pay 100R to who helps me!
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
31 Jan 2014 10:02 PM
its Roblox.Util
Report Abuse
ASCORE is not online. ASCORE
Joined: 19 Oct 2013
Total Posts: 246
31 Jan 2014 10:08 PM
How would you use RBXUTILITY for that?
Report Abuse
ASCORE is not online. ASCORE
Joined: 19 Oct 2013
Total Posts: 246
31 Jan 2014 10:11 PM
I still get error:

21:10:54.688 - Workspace.Script:4: attempt to call global 'Roblox_Status' (a nil value)
21:10:54.692 - Script 'Workspace.Script', Line 4
21:10:54.696 - stack end
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
31 Jan 2014 10:16 PM
local util = assert(LoadLibrary('RbxUtility'))
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
31 Jan 2014 10:22 PM
aaaand he doesn't respond after problem is solved
Report Abuse
ASCORE is not online. ASCORE
Joined: 19 Oct 2013
Total Posts: 246
31 Jan 2014 10:28 PM
That doesn't solve the problem...
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