You are on page 1of 2

--=====Check Nuked=====---

World = {"x"}
DelayJoin = 4000
Webhook = ""
--======Dont Edit=======--

Nuked = false
ListNuked = ""
CountNuked = 1

function Send(info)
local script = [[
$webHookUrl = "]]..Webhook..[["
$host.ui.RawUI.WindowTitle = ""
[Net.ServicePointManager]::SecurityProtocol =
[Net.SecurityProtocolType]::Tls12
[System.Collections.ArrayList]$embedArray = @()
$title = "Nuked List"
$description = ']]..info..[['
$color = Get-Random -Minimum 0 -Maximum 16777215
$footertext = "]]..(os.date("!%d %b %Y", os.time() + 7 * 60 * 60))..
[[ | ]]..(os.date("!%I:%M %p", os.time() + 7 * 60 * 60))..[["

$footerObject = [PSCustomObject]@{
text = $footertext
}
$embedObject = [PSCustomObject]@{
title = $title
description = "$description"
color = $color
footer = $footerObject

$embedArray.Add($embedObject) | Out-Null
$payload = [PSCustomObject]@{
embeds = $embedArray
'avatar_url' = 'https://i.postimg.cc/kGj6C93V/20221024-200836.png'
'username' = 'NUKED'
'content' = '@everyone'
}
[Net.ServicePointManager]::SecurityProtocol =
[Net.SecurityProtocolType]::Tls12
Invoke-RestMethod -Uri $webHookUrl -Body ($payload | ConvertTo-Json -Depth
4) -Method Post -ContentType 'application/json'
]]
local pipe = io.popen("powershell -command -", "w")
pipe:write(script)
pipe:close()
end

function hook(v)
if v[0] == "OnConsoleMessage" and v[1]:find("inaccessible") then
Nuked = true
end
end

addHook("OnConsoleMessage",hook)
for a,i in pairs(World) do
while getBot().world:upper() ~= i:upper() and not Nuked do
sendPacket(3,"action|join_request\nname|"..i:upper().."\ninvitedWorld|0")
sleep(DelayJoin)
end
if Nuked then
ListNuked = ListNuked..CountNuked.."."..i:upper().." ("..a..") Has Nuked
<:nuked:1002933664096722994>\n"
CountNuked = CountNuked +1
Nuked = false
end
end

Send(ListNuked)
sleep(10000)
removeBot(getBot().name)

You might also like