as what im looking for is, saving a table on a website, then receiving it and putting it into a local variable. then i view the table and use it to login to my dashboard.
EDIT :
https://pastebin.com/raw/fCJ5Sm9Y
^ i Receive the table from a pastebin.
3 Likes
I think this might require HTTP services.
2 Likes
HTTP Services won’t exactly work. as it returns a full string, instead of a table. decoding or encoding doesnt seem to work aswell.
2 Likes
Yeah but I heard that you’ll need a service to get data from 3rd party websites?
2 Likes
yes, tables from 3rd party websites
1 Like
Jxl_s
(Jxl_s)
April 3, 2021, 3:12pm
#6
You should consider using JSON instead of lua tables.
Use HttpService:JSONDecode(data) to decode the response
Example of JSON:
{
"55": "Error"
}
2 Likes
Alright i’ll try.
but how to set multiple variables.
for example
{
[500] = {
A = 1,
B = 2
}
ect…
Jxl_s
(Jxl_s)
April 3, 2021, 3:35pm
#8
{
"500":{
"A":1,
"B":2
}
}
Works just like tables. Dictionaries are wrapped in {}, while arrays are in []
1 Like
This would sureley help out ty.