--this first part is definitely not taken from https://developer.roblox.com/api-reference/function/HttpService/PostAsync local HttpService = game:GetService("HttpService") local URL_PASTEBIN = "https://pastebin.com/api/api_post.php" local dataFields = { ["api_dev_key"] = "INSERT_VERY_NICE_DEV_KEY"; ["api_option"] = "list"; ["api_results_limit"] = "50"; ["api_user_key"] = "INSERT_VERY_NICE_USER_KEY"; } local data = "" for k, v in pairs(dataFields) do data = data .. ("&%s=%s"):format( HttpService:UrlEncode(k), HttpService:UrlEncode(v) ) end data = data:sub(2) local response = HttpService:PostAsync(URL_PASTEBIN, data, Enum.HttpContentType.ApplicationUrlEncoded, false) local pastetitle = {} local pasteurl = {} local pasteformat = {} local pasteexpose = {} for capture in string.gmatch(response, "%(.-)%<%/paste%_title%>") do table.insert(pastetitle, capture) end for capture in string.gmatch(response, "%(.-)%<%/paste%_url%>") do table.insert(pasteurl, capture) end for capture in string.gmatch(response, "%(.-)%<%/paste%_private%>") do if capture == "0" then capture = "Public" elseif capture == "1" then capture = "Unlisted" elseif capture == "2" then capture = "Private (WARN)" end table.insert(pasteexpose, capture) end for capture in string.gmatch(response, "%(.-)%<%/paste%_format%_long%>") do if capture == "Lua" then capture = "Lua" elseif capture == "None" then capture = "Unspecified" else capture = capture .. " (WARN)" end table.insert(pasteformat, capture) end for i=1,#pastetitle do print("----------------") print(pastetitle[i]) print(pasteurl[i]) if string.find(pasteformat[i], "(WARN)") ~= nil then warn(pasteformat[i]) else print(pasteformat[i]) end if pasteexpose[i] == "Private (WARN)" then warn(pasteexpose[i]) else print(pasteexpose[i]) end end print("----------------") script:Destroy()