Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local HttpService = game:GetService("HttpService")
- local TeleportService = game:GetService("TeleportService")
- local Players = game:GetService("Players")
- local placeId = game.PlaceId
- local webhookURL = "YOUR_WEBHOOK_URL_HERE"
- local secretNames = {
- "Garama and Madundung",
- "La Grande Combinazione",
- "Pot Hotspot",
- "Graipuss Medussi",
- "Las Tralaleritas",
- "Los Tralaleritos",
- "Torrtuginni Dragonfrutin",
- "La Vacca Saturno Saturnita"
- }
- local visitedServers = {}
- local function sendWebhook(secrets)
- local jobId = game.JobId or "Unknown"
- local count = #Players:GetPlayers()
- local maxP = Players.MaxPlayers or 50
- local desc = ""
- for _, name in ipairs(secrets) do
- desc = desc .. name .. " (Secret)\n"
- end
- local teleportCode = ("game:GetService('TeleportService'):TeleportToPlaceInstance(%d, '%s', game.Players.LocalPlayer)"):format(placeId, jobId)
- local data = {
- username = "Secret Finder Bot",
- embeds = {{
- title = "🔎 Secret Found!",
- description = desc,
- color = 0x1ABC9C,
- fields = {
- {name = "Server Info", value = ("Players: %d/%d\nServer ID: %s"):format(count, maxP, jobId)},
- {name = "Teleport Script", value = "```lua\n" .. teleportCode .. "\n```"}
- },
- footer = { text = "Auto Secret Finder Bot" },
- timestamp = os.date("!%Y-%m-%dT%TZ")
- }}
- }
- pcall(function()
- HttpService:PostAsync(webhookURL, HttpService:JSONEncode(data), Enum.HttpContentType.ApplicationJson)
- end)
- end
- local function findSecrets()
- local found = {}
- for _, obj in pairs(workspace:GetDescendants()) do
- if obj:IsA("Model") then
- for _, name in ipairs(secretNames) do
- if obj.Name == name then
- table.insert(found, name)
- break
- end
- end
- end
- end
- return found
- end
- local function fetchServerPage(cursor)
- local url = ("https://games.roblox.com/v1/games/%d/servers/Public?sortOrder=Asc&limit=100"):format(placeId)
- if cursor then url = url .. "&cursor=" .. cursor end
- local ok, res = pcall(HttpService.GetAsync, HttpService, url)
- if not ok then return nil end
- return HttpService:JSONDecode(res)
- end
- local function pickServer()
- local cursor = nil
- repeat
- local data = fetchServerPage(cursor)
- if not data then break end
- for _, srv in ipairs(data.data or {}) do
- if srv.playing < srv.maxPlayers and not visitedServers[srv.id] then
- visitedServers[srv.id] = true
- return srv.id
- end
- end
- cursor = data.nextPageCursor
- until not cursor
- return nil
- end
- local function hopToNext()
- local id = pickServer()
- if id then
- TeleportService:TeleportToPlaceInstance(placeId, id, Players.LocalPlayer)
- else
- warn("🌐 No more servers to check.")
- end
- end
- spawn(function()
- while task.wait(1) do
- local pl = Players.LocalPlayer
- if pl and pl.Character and pl.Character:FindFirstChild("Humanoid") and pl.Character.Humanoid.Health == 0 then
- TeleportService:TeleportToPlaceInstance(placeId, game.JobId, pl)
- break
- end
- end
- end)
- while true do
- wait(5)
- local secrets = findSecrets()
- if #secrets > 0 then
- sendWebhook(secrets)
- wait(2)
- end
- hopToNext()
- wait(5)
- end
Advertisement
Add Comment
Please, Sign In to add comment