I am trying to set up a whitelist system I can edit via an pastebin post, however it returns as a string. How would I make it return as a table?
the insides of the pastebin text
{98033980,103548428}
I am trying to set up a whitelist system I can edit via an pastebin post, however it returns as a string. How would I make it return as a table?
the insides of the pastebin text
{98033980,103548428}
Rather than having the {
and }
in the pastebin you could just have the ids seperated by commas. Then in your game you could split that string and loop through each entry, adding it into a table. Then use that table
Wiki pages for reference:
https://developer.roblox.com/en-us/api-reference/lua-docs/string