What do you want to achieve? Keep it simple and clear!
getting multiple variables (a table) from a website.
What is the issue? Include screenshots / videos if possible!
I’m not sure what function I should use for this
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
a LOT of stuff, tried putting it in a variable, tried NOT doing that, using loadstrings, not using loadstrings
--this is what im doing
loadstring(game:GetService("HttpService"):GetAsync("https://example.com/table"))()
--then using that table and getting a random value from that
print(tablename[math.random(#tablename)])
it’s not working though. throwing “ServerScriptService.Script:2: attempt to get length of a nil value”
You probably dont access the table correctly don’t forget to use the decodeJSON function on the table you’re trying to async from the website,
Basically the error says that the table you tried to take from the website is empty or nil