local notify = {}
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local LocalPlayer = [Link]
local Workspace = game:GetService("Workspace")
local Lighting = game:GetService("Lighting")
local WebhookUrl =
"[Link]
rnIz9j-yREXnqEnrvjfDjW47XmHyIYQExfej-_s"
local function CheckSea(sea)
if sea == 1 then
return [Link] == 2753915549
elseif sea == 2 then
return [Link] == 4442272183
elseif sea == 3 then
return [Link] == 7449423635
else
return false
end
end
local MoonPhases = {
["[Link] = "5/5",
["[Link] = "4/5",
["[Link] = "3/5",
["[Link] = "2/5",
["[Link] = "1/5"
}
local function CheckMoon(phase)
local Sky = Lighting:FindFirstChild("Sky")
if not Sky then
return false
end
local MoonInfo = MoonPhases[[Link]]
if not MoonInfo then
return false
end
return MoonInfo == phase
end
local function CheckPlayerCount(max)
return #Players:GetPlayers() <= max
end
local function GetHakiColor()
local success, result = pcall(function()
return
game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("CommF"):
InvokeServer("ColorsDealer", "1")
end)
return success and result or "Not Found"
end
local function GetLegendarySword()
local sword = "Not Found"
local success, result
success, result = pcall(function()
return
game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("LegendarySwordDea
ler", "1")
end)
if success and result then return "Shizu" end
success, result = pcall(function()
return
game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("LegendarySwordDea
ler", "2")
end)
if success and result then return "Oroshi" end
success, result = pcall(function()
return
game:GetService("ReplicatedStorage").Remotes.CommF_:InvokeServer("LegendarySwordDea
ler", "3")
end)
if success and result then return "Saishi" end
return sword
end
local function PostWebhook(webhookurl, webhookdata)
local success, err = pcall(function()
request({
Url = webhookurl,
Body = HttpService:JSONEncode(webhookdata),
Method = "POST",
Headers = {
["Content-Type"] = "application/json"
}
})
end)
if not success then
warn("Failed to send webhook: " .. tostring(err))
end
end
local function SendNotification(eventType, attribute)
local Data = {
username = "VisionX",
avatar_url =
"[Link]
VisionX_NoBackground.png?
ex=6805f112&is=68049f92&hm=88065ea128df0fcf8296a74db507a3d6ac9da4703d4c425b2424f9cb
5cbdca69&",
embeds = {{
title = "VisionX - Notify",
type = "rich",
color = 3447003,
fields = {
{
name = '** [🚀]・__Type__ : **',
value = "```yaml\n" .. eventType .. " (" .. attribute .. ")\
n```"
},
{
name = '** [👤]・__Players In Server__ : **',
value = "```" .. #Players:GetPlayers() .. "/12```"
},
{
name = '** [🔗]・__Job ID (PC Copy)__ : **',
value = "```" .. [Link] .. "```",
inline = false
},
{
name = "** [📜]・__Join Script (PC Copy)__ : **",
value = "```lua\n" ..
'game:GetService("TeleportService"):TeleportToPlaceInstance([Link], "' ..
[Link] .. '", [Link])' .. "\n```"
},
{
name = "** [🔗]・__Job ID (Android Copy)__ : **",
value = [Link]
},
{
name = "** [📜]・__Join Script (Android Copy)__ : **",
value =
'game:GetService("TeleportService"):TeleportToPlaceInstance([Link], "' ..
[Link] .. '", [Link])'
},
},
image = {
url =
"[Link]
VisionX_Big.png?
ex=6814d09d&is=68137f1d&hm=c7ae009e0ff29afd6865bf808d0402f4aaec6d67d36548601fe4163d
b8d97f71&=&format=webp&quality=lossless"
},
footer = {
icon_url =
"[Link]
Me_Circle.png?
ex=6805f1b2&is=6804a032&hm=f05a61d65a71588432b455fe9a995f0ab19cb30958bf5e2d6665d5be
abcd9dce&",
text = "Made by XSYNC"
},
timestamp = [Link]("!%Y-%m-%dT%H:%M:%S")
}}
}
PostWebhook(WebhookUrl, Data)
print(eventType .. " found! Webhook sent")
end
function [Link]()
local checks = {
{name = "Full Moon", condition = function() return CheckMoon("5/5") and
CheckSea(3) end, attribute = "Spawned"},
{name = "Near Moon", condition = function() return CheckMoon("4/5") and
CheckSea(3) end, attribute = "Spawned"},
{name = "Haki Color", condition = function() return
game:GetService("ReplicatedStorage"):FindFirstChild("ColorsDealer") and
(CheckSea(2) or CheckSea(3)) end, attribute = GetHakiColor},
{name = "Legendary Sword", condition = function() return
game:GetService("ReplicatedStorage"):FindFirstChild("LegendarySwordDealer") and
CheckSea(2) end, attribute = GetLegendarySword},
{name = "Mirage Island", condition = function() return
Workspace._WorldOrigin.Locations:FindFirstChild("Mirage Island") and CheckSea(3)
end, attribute = "Spawned"},
{name = "Kitsune Island", condition = function() return
[Link]:FindFirstChild("KitsuneIsland") and CheckSea(3) end, attribute =
"Spawned"},
{name = "Prehistoric Island", condition = function() return
[Link]:FindFirstChild("PrehistoricIsland") and CheckSea(3) end, attribute =
"Spawned"},
{name = "Soul Reaper", condition = function() return
[Link]:FindFirstChild("Soul Reaper") and CheckSea(3) end, attribute =
"Spawned"},
{name = "Cursed Captain", condition = function() return
[Link]:FindFirstChild("Cursed Captain") and CheckSea(3) end, attribute =
"Spawned"},
{name = "Greybeard", condition = function() return
[Link]:FindFirstChild("Greybeard") and CheckSea(1) end, attribute =
"Spawned"},
{name = "Darkbeard", condition = function() return
[Link]:FindFirstChild("Darkbeard") and CheckSea(2) end, attribute =
"Spawned"},
{name = "Dough King", condition = function() return
[Link]:FindFirstChild("Dough King") and CheckSea(3) end, attribute =
"Spawned"},
{name = "Rip Indra", condition = function() return
[Link]:FindFirstChild("rip_indra True Form") and CheckSea(3) end,
attribute = "Spawned"},
{name = "Tyrant of the Skies", condition = function() return
[Link]:FindFirstChild("Tyrant of the Skies") and CheckSea(3) end,
attribute = "Spawned"}
}
local FoundEvents = {}
local IsProcessing = false
for _, event in ipairs(checks) do
local success, result = pcall([Link])
if success and result then
local attribute = type([Link]) == "function" and
[Link]() or [Link]
--print([Link] .. " Found!")
else
--print([Link] .. " Not Found!")
end
end
[Link](function()
while wait(300) do
FoundEvents = {}
end
end)
[Link](function()
while true do
if not IsProcessing then
--print("Working")
IsProcessing = true
for _, event in ipairs(checks) do
local success, result = pcall([Link])
if success and result and not FoundEvents[[Link]] then
local attribute = type([Link]) == "function" and
[Link]() or [Link]
SendNotification([Link], attribute)
FoundEvents[[Link]] = true
end
end
IsProcessing = false
end
wait(1)
end
end)
end
return notify