Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

HttpGet Tables giving issues. fixes?

Asked by 5 years ago

So, i have been making an admin script for the last few days, and there is a function i just can't ge to work. The idea is that once a player joins a game with the admin in, and uses a command, it will add them to a pastebin file (which is already done and working in another part of the script), and then when this command is run, it will take the username given by the user, and tell them wether or not the player they checked has used the admin before. The problem is, the pastebin file is this: https://pastebin.com/tbLeesMx but the script sees it as having 170k entries.

if msg:sub(1,9) == ';plruses ' then
    mems = game:HttpGet('https://pastebin.com/edit/tbLeesMx')
    plrs = game:GetService("Players")
    for v = 1,#mems do
        if msg:sub(10) == mems[v] then
            cnotification('True. Player '..mems[v]..'Has used Ax Admin before.')
        end
        wait(0.000001)
    end
end

Any help would be much appreciated.

0
does wait(0.000001) even works? i thought the minimum is 0.023 goreacraft 1 — 5y
0
seems to. TigerManGamingYT 2 — 5y

Answer this question