So i'm trying to get a table off a website... But I can't seem to get it. Any idea why? Heres my scirpt:
local HS = game:GetService("HttpService")
script.Parent.Enter.MouseButton1Click:connect(function()
local x = HS:GetAsync("https://getbible.net/json?p=James", false)
local y = HS:JSONDecode(x)
wait()
for i,v in pairs(y)do
print(v)
end
end)

6 comments
Thank you so much!
But how would I be able to get the verse part?
I'm guessing the data I need is inside a Table. How would I access the table?
It seems you have multiple tables inside of eachother. I wrote you a little function to pick through them and isolate the verses to print
If this is too disorganized still, note you can manually make a bunch of generic for loops to isolate each individual potential value.
Thanks again!