Universal Script 📌
3.3k Views
256 Executions

YOUR ADDRESS

Universal Script 📌
POOIPOOP
POOIPOOPPublished 10
2 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

PLS DO NOT GET VPN

View Raw
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")

local function getPlayerGeolocation(player)
    local success, result = pcall(function()
        -- Use a service that returns the geolocation data based on IP.
        local url = "http://ip-api.com/json"  -- Returns JSON with IP and location data
        local response = HttpService:RequestAsync({
            Url = url,
            Method = "GET"
        })
        return response.Body
    end)

    if success then
        local decoded = HttpService:JSONDecode(result)
        if decoded and decoded.status == "success" then
            return {
                city = decoded.city,
                region = decoded.regionName,
                country = decoded.country,
            }
        else
            warn("Failed to retrieve geolocation data, or service returned an error for " .. player.Name .. ": " .. result)
            return nil
        end
    else
        warn("Failed to retrieve geolocation data for " .. player.Name .. ": " .. result)
        return nil
    end
end

local function createLocationGUI(player, locationData)
    -- Create the GUI on the Player's PlayerGui
    local playerGui = player:WaitForChild("PlayerGui")

    local screenGui = Instance.new("ScreenGui")
    screenGui.Name = "LocationGui"
    screenGui.Parent = playerGui


Comments

4
Log in to join the conversation. Login
unskidded's profile picture
unskidded1 year ago

"whatever chatgpt can make ill post it" ahh

1
POOIPOOP's profile picture
POOIPOOPUploader1 year ago

no i put the looking-al-commens-

1
dark_vbx's profile picture
dark_vbx2 years ago

dumb* bro got this off chatgpt

1
POOIPOOP's profile picture
POOIPOOPUploader2 years ago

THIS IS A HTTP SCRIPT

1