For some reason i can print the lua table
but i cant print the name itself.
i’ve tried tutorials they didnt help
Whenever i try to print the name:
![]()
It returns nil.
Now i think this is a problem of the [1]
But i dunno how to get the name
heres the code
local hs = game:GetService("HttpService")
local url = "if i put the url it drafts offline its supposed to be a pastebin link"
local data = hs:GetAsync(url)
local decode = hs:JSONDecode(data)
print(decode)
print(decode.Name)
heres the json code
[
{
"Name": "Radiation Dummy",
"info": {
"Price": 1200,
"LayoutOrder": 1
}
}
]
This is my first time trying out httpservices so its quite confusing for me lol
