Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local HttpService = game:GetService("HttpService")
- -- Base URL to bypass
- local baseUrl = "http://45.90.13.151:6041/?url="
- -- Function to set the clipboard
- local function everyClipboard(value)
- local clipboardFunctions = {
- setclipboard,
- toclipboard,
- set_clipboard,
- setrbxclipboard,
- Clipboard and Clipboard.set
- }
- for _, clipboardFunction in ipairs(clipboardFunctions) do
- if clipboardFunction then
- clipboardFunction(value)
- return true
- end
- end
- return false
- end
- -- Function to fetch data from the URL
- local function fetchAndParse(base, userLink)
- local fullUrl = base .. userLink
- local success, response = pcall(function()
- return game:HttpGet(fullUrl)
- end)
- if success then
- local parsedResponse = HttpService:JSONDecode(response)
- -- Print each key-value pair and check global variables
- for key, value in pairs(parsedResponse) do
- print(key .. " : " .. tostring(value))
- if _G.CopyMessage and key == "message" then
- everyClipboard(tostring(value))
- end
- if _G.CopyKey and key == "key" then
- everyClipboard(key)
- end
- end
- return true
- else
- warn("Failed to fetch URL:", response)
- return false
- end
- end
- -- Fetch and print the data
- fetchAndParse(baseUrl, _G.userLink)
Advertisement
Add Comment
Please, Sign In to add comment