local Players = game:GetService("Players")
local HttpService = game:GetService("HttpService")
local WEBHOOK_ENABLED = true
local WEBHOOK_URL = "yourwebhook"
local SCAN_INTERVAL = 1
local MIN_STEALS = 0
local MIN_REBIRTHS = 0
local MIN_CASH = 0
local function sendToWebhook(message)
if not WEBHOOK_ENABLED then return end
if WEBHOOK_URL == "" then return end
pcall(function()
HttpService:PostAsync(
WEBHOOK_URL,
HttpService:JSONEncode({
content = message,
username = "Roblox Leaderboard Scanner"
}),
Enum.HttpContentType.ApplicationJson
)
end)
end
local function scanLeaderboard()
local now = os.date("%X")
local lines = {}
table.insert(lines, string.format("**Leaderboard Scan @ %s**", now))
table.insert(lines, "```")
local anyPlayers = false
for _, player in ipairs(Players:GetPlayers()) do
local leaderstats = player:FindFirstChild("leaderstats")
if not leaderstats then continue end
local steals = leaderstats:FindFirstChild("Steals")
local rebirths = leaderstats:FindFirstChild("Rebirths")
local cash = leaderstats:FindFirstChild("Cash")
if not (steals and rebirths and cash) then continue end
if steals.Value < MIN_STEALS and rebirths.Value < MIN_REBIRTHS and cash.Value < MIN_CASH then
continue
end
anyPlayers = true
table.insert(lines, string.format(
"%-20s | Steals: %8d | Rebirths: %6d | Cash: %12s",
player.Name,
steals.Value,
rebirths.Value,
tostring(cash.Value)
))
end
if not anyPlayers then
table.insert(lines, "No players online or no leaderstats found.")
end
table.insert(lines, "```")
local fullMessage = table.concat(lines, "\n")
print(fullMessage)
sendToWebhook(fullMessage)
end
print("Leaderboard scanner started - scanning every " .. SCAN_INTERVAL .. " second(s)")
while true do
scanLeaderboard()
task.wait(SCAN_INTERVAL)
end
Comments
No comments yet
Be the first to share your thoughts!