-- Get services local HttpService = game:GetService("HttpService") local Players = game:GetService("Players") local StarterGui = game:GetService("StarterGui") -- Set notification and attempt to copy Discord link to clipboard local function setNotificationAndCopyDiscordLink() StarterGui:SetCore("SendNotification", { Title = "Hello!", Text = "This script was made by bigboytimme! Discord link will be copied.", Duration = 14 - 9 }) local success, error = pcall(function() setclipboard("https://discord.gg/qByVWmwGnF") end) if not success then warn("Failed to copy Discord link to clipboard: " .. error) end end setNotificationAndCopyDiscordLink() -- Create screen GUI local screenGui = Instance.new("ScreenGui") screenGui.Name = "PlaceInfoGui" screenGui.Parent = Players.LocalPlayer:WaitForChild("PlayerGui") -- Create frame local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 462 - 212, 0, 550 - (87 + 263)) frame.Position = UDim2.new(0.5, 10, 1, -(515 - 305)) frame.BackgroundColor3 = Color3.fromRGB(23 + 7, 119 - 89, 982 - (802 + 150)) frame.BorderSizePixel = 0 frame.Parent = screenGui -- Create UI corner local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 10) uiCorner.Parent = frame -- Create title label local titleTextLabel = Instance.new("TextLabel") titleTextLabel.Size = UDim2.new(1, 0, 0, 1027 - (915 + 82)) titleTextLabel.Position = UDim2.new(0, 0, 0, 0) titleTextLabel.BackgroundTransparency = 1 titleTextLabel.Text = "Place Info" titleTextLabel.Font = Enum.Font.SourceSansBold titleTextLabel.TextSize = 1205 - (1069 + 118) titleTextLabel.TextColor3 = Color3.fromRGB(255, 578 - 323, 557 - 302) titleTextLabel.TextXAlignment = Enum.TextXAlignment.Center titleTextLabel.Parent = frame -- Create info label local infoTextLabel = Instance.new("TextLabel") infoTextLabel.Size = UDim2.new(1, -(35 - 15), 1, -(40 + 0)) infoTextLabel.Position = UDim2.new(0, 801 - (368 + 423), 0, 30) infoTextLabel.BackgroundTransparency = 0.5 infoTextLabel.Font = Enum.Font.SourceSans infoTextLabel.TextSize = 53 - 39 infoTextLabel.TextColor3 = Color3.fromRGB(642 - (416 + 26), 638 - 438, 86 + 114) infoTextLabel.TextXAlignment = Enum.TextXAlignment.Left infoTextLabel.TextYAlignment = Enum.TextYAlignment.Top infoTextLabel.TextWrapped = true infoTextLabel.Text = "Loading..." infoTextLabel.Parent = frame -- Parse ISO time format local function parseISOTime(isoTime) local year, month, day, hour, min, sec year, month, day, hour, min, sec = isoTime:match("(%d+)-(%d+)-(%d+)T(%d+):(%d+):(%d+)") return os.time({year = tonumber(year), month = tonumber(month), day = tonumber(day), hour = tonumber(hour), min = tonumber(min), sec = tonumber(sec)}) end -- Format numbers with commas local function formatNumber(number) local formatted = tostring(number) while true do formatted, _ = formatted:gsub("^(-?%d+)(%d%d%d)", "%1,%2") if _ == 0 then break end end return formatted end -- Get game information local function getGameInfo() local placeId = game.PlaceId local url = "https://games.roblox.com/v1/games?universeIds=" .. tostring(game.GameId) local success, data = pcall(function() return HttpService:JSONDecode(game:HttpGet(url)) end) if success and data.data and #data.data > 0 then local gameData = data.data[1] local name = gameData.name or "Unknown" local createdTime = parseISOTime(gameData.created) local updatedTime = parseISOTime(gameData.updated) local playing = gameData.playing or 0 local visits = gameData.visits or 0 local visitsFormatted = formatNumber(visits) local serverRegion = "Unknown" pcall(function() serverRegion = game:HttpGet("https://ipinfo.io/region") end) return { PlaceId = placeId, Name = name, Created = os.date("%Y-%m-%d %H:%M:%S", createdTime), Updated = os.date("%Y-%m-%d %H:%M:%S", updatedTime), Playing = playing, Visits = visits, VisitsFormatted = visitsFormatted, ServerRegion = serverRegion, ServerCount = #Players:GetPlayers() } else warn("Failed to fetch place info.") return nil end end -- Update UI with game information local function updateUI() local success = pcall(getGameInfo) if success then local gameInfo = getGameInfo() if gameInfo then infoTextLabel.Text = string.format("Place ID: %d\nName: %s\nCreated: %s\nUpdated: %s\nCurrently Playing: %d\nPlayers in Server: %d\nTotal Visits: %s\nServer Region: %s", gameInfo.PlaceId, gameInfo.Name, gameInfo.Created, gameInfo.Updated, gameInfo.Playing, gameInfo.ServerCount, gameInfo.VisitsFormatted, gameInfo.ServerRegion) else infoTextLabel.Text = "Failed to fetch place info." end else local placeId = game.PlaceId local playerCount = #Players:GetPlayers() infoTextLabel.Text = string.format("Place ID: %d\nPlayers in Server: %d\nNote: You need a better executor man...", placeId, playerCount) end end -- Listen for player join and leave events Players.PlayerAdded:Connect(updateUI) Players.PlayerRemoving:Connect(updateUI) -- Initial update updateUI()