-- GUI 2 LUA -- local XMOONX_1 = Instance.new("ScreenGui") local Moon_1 = Instance.new("Frame") local SM_1 = Instance.new("LocalScript") local UICorner_1 = Instance.new("UICorner") local UIGradient_1 = Instance.new("UIGradient") local UIStroke_1 = Instance.new("UIStroke") local Frame_1 = Instance.new("Frame") local UICorner_2 = Instance.new("UICorner") local UIGradient_2 = Instance.new("UIGradient") local UIShadow_1 = Instance.new("UIShadow") local UIStroke_2 = Instance.new("UIStroke") local TextLabel_1 = Instance.new("TextLabel") local ImageLabel_1 = Instance.new("ImageLabel") local UIShadow_2 = Instance.new("UIShadow") local ScrollingTextbox_1 = Instance.new("ScrollingFrame") local SizeBasedOffText_1 = Instance.new("LocalScript") local UICorner_3 = Instance.new("UICorner") local UIGradient_3 = Instance.new("UIGradient") local UIStroke_3 = Instance.new("UIStroke") local Field_1 = Instance.new("TextBox") local Exe_1 = Instance.new("TextButton") local LocalScript_1 = Instance.new("LocalScript") local UICorner_4 = Instance.new("UICorner") local UIStroke_4 = Instance.new("UIStroke") local Inject_1 = Instance.new("TextButton") local LocalScript_2 = Instance.new("LocalScript") local UICorner_5 = Instance.new("UICorner") local UIStroke_5 = Instance.new("UIStroke") local Clear_1 = Instance.new("TextButton") local ClearTextBoxOnClick_1 = Instance.new("LocalScript") local UICorner_6 = Instance.new("UICorner") local UIStroke_6 = Instance.new("UIStroke") XMOONX_1.Name = "XMOONX" XMOONX_1.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") XMOONX_1.ResetOnSpawn = false Moon_1.BackgroundColor3 = Color3.fromRGB(18, 18, 18) Moon_1.Name = "Moon" Moon_1.Parent = XMOONX_1 Moon_1.Position = UDim2.new(0.15032680332660675, 0, 0.28378379344940186, 0) Moon_1.Size = UDim2.new(0, 461, 0, 273) Moon_1.Selectable = false UICorner_1.CornerRadius = UDim.new(0, 5) UICorner_1.Parent = Moon_1 UIGradient_1.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(18, 18, 18)), ColorSequenceKeypoint.new(1, Color3.fromRGB(13, 13, 13)), } UIGradient_1.Rotation = 5 UIGradient_1.Parent = Moon_1 UIStroke_1.Color = Color3.fromRGB(15, 15, 15) UIStroke_1.Thickness = 5 UIStroke_1.Parent = Moon_1 Frame_1.BackgroundColor3 = Color3.fromRGB(18, 18, 18) Frame_1.Parent = Moon_1 Frame_1.Position = UDim2.new(1.3239730378700187e-07, 0, -0.0013404818018898368, 0) Frame_1.Size = UDim2.new(0, 460, 0, 32) Frame_1.Selectable = false UICorner_2.CornerRadius = UDim.new(0, 5) UICorner_2.Parent = Frame_1 UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(18, 18, 18)), ColorSequenceKeypoint.new(1, Color3.fromRGB(13, 13, 13)), } UIGradient_2.Rotation = 5 UIGradient_2.Parent = Frame_1 UIStroke_2.Color = Color3.fromRGB(15, 15, 15) UIStroke_2.Thickness = 5 UIStroke_2.Parent = Frame_1 TextLabel_1.Active = true TextLabel_1.AutomaticSize = Enum.AutomaticSize.XY TextLabel_1.BackgroundTransparency = 1 TextLabel_1.Parent = Frame_1 TextLabel_1.Position = UDim2.new(0.06433842331171036, 0, -0.08016300201416016, 0) TextLabel_1.Size = UDim2.new(0, 274, 0, 46) TextLabel_1.Selectable = false TextLabel_1.FontFace = Font.new("rbxasset://fonts/families/IndieFlower.json", Enum.FontWeight.SemiBold, Enum.FontStyle.Normal) TextLabel_1.RichText = true TextLabel_1.Text = "Moon Serverside" TextLabel_1.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel_1.TextDirection = Enum.TextDirection.RightToLeft TextLabel_1.TextScaled = true TextLabel_1.TextSize = 14 TextLabel_1.TextWrapped = true ImageLabel_1.BackgroundTransparency = 1 ImageLabel_1.Parent = Frame_1 ImageLabel_1.Position = UDim2.new(-0.0020376271568238735, 0, -0.2937202453613281, 0) ImageLabel_1.Size = UDim2.new(0, 52, 0, 52) ImageLabel_1.ZIndex = 5 ImageLabel_1.Image = "rbxassetid://7226619613" ImageLabel_1.ImageContent = Content.fromUri("rbxassetid://7226619613") ScrollingTextbox_1.AnchorPoint = Vector2.new(0.5, 0.5) ScrollingTextbox_1.BackgroundColor3 = Color3.fromRGB(9, 9, 9) ScrollingTextbox_1.BorderColor3 = Color3.fromRGB(27, 42, 53) ScrollingTextbox_1.Name = "ScrollingTextbox" ScrollingTextbox_1.Parent = Moon_1 ScrollingTextbox_1.Position = UDim2.new(0.49934569001197815, 0, 0.48692014813423157, 0) ScrollingTextbox_1.Size = UDim2.new(0.8702932596206665, 0, 0.6079274415969849, 0) ScrollingTextbox_1.BottomImage = "rbxassetid://775999473" ScrollingTextbox_1.BottomImageContent = Content.fromUri("rbxassetid://775999473") ScrollingTextbox_1.CanvasSize = UDim2.new(0, 0, 0, 4144) ScrollingTextbox_1.MidImage = "rbxassetid://1255822465" ScrollingTextbox_1.MidImageContent = Content.fromUri("rbxassetid://1255822465") ScrollingTextbox_1.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255) ScrollingTextbox_1.ScrollBarThickness = 6 ScrollingTextbox_1.TopImage = "rbxassetid://775999050" ScrollingTextbox_1.TopImageContent = Content.fromUri("rbxassetid://775999050") UICorner_3.CornerRadius = UDim.new(0, 5) UICorner_3.Parent = ScrollingTextbox_1 UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0, Color3.fromRGB(18, 18, 18)), ColorSequenceKeypoint.new(1, Color3.fromRGB(13, 13, 13)), } UIGradient_3.Rotation = 5 UIGradient_3.Parent = ScrollingTextbox_1 UIStroke_3.Color = Color3.fromRGB(15, 15, 15) UIStroke_3.Thickness = 5 UIStroke_3.Parent = ScrollingTextbox_1 Field_1.BackgroundTransparency = 1 Field_1.ClearTextOnFocus = false Field_1.MultiLine = true Field_1.Name = "Field" Field_1.Parent = ScrollingTextbox_1 Field_1.Position = UDim2.new(0.0196926761418581, 0, 0.00001276598050026223, 0) Field_1.Size = UDim2.new(1, -15, 15017.89453125, 0) Field_1.FontFace = Font.new("rbxassetid://11322590111", Enum.FontWeight.Bold, Enum.FontStyle.Normal) Field_1.PlaceholderColor3 = Color3.fromRGB(255, 255, 255) Field_1.PlaceholderText = "Night Falls." Field_1.RichText = true Field_1.Text = "" Field_1.TextColor3 = Color3.fromRGB(255, 255, 255) Field_1.TextSize = 28 Field_1.TextWrapped = true Field_1.TextXAlignment = Enum.TextXAlignment.Left Field_1.TextYAlignment = Enum.TextYAlignment.Top Exe_1.BackgroundColor3 = Color3.fromRGB(5, 5, 5) Exe_1.Name = "Exe" Exe_1.Parent = Moon_1 Exe_1.Position = UDim2.new(0.03470715880393982, 0, 0.8424908518791199, 0) Exe_1.Size = UDim2.new(0, 94, 0, 37) Exe_1.FontFace = Font.new("rbxassetid://11322590111", Enum.FontWeight.Regular, Enum.FontStyle.Normal) Exe_1.RichText = true Exe_1.Text = "EXE" Exe_1.TextColor3 = Color3.fromRGB(255, 255, 255) Exe_1.TextSize = 27 UICorner_4.CornerRadius = UDim.new(0, 5) UICorner_4.Parent = Exe_1 UIStroke_4.ApplyStrokeMode = Enum.ApplyStrokeMode.Border UIStroke_4.Color = Color3.fromRGB(15, 15, 15) UIStroke_4.Thickness = 2 UIStroke_4.Parent = Exe_1 Inject_1.BackgroundColor3 = Color3.fromRGB(5, 5, 5) Inject_1.Name = "Inject" Inject_1.Parent = Moon_1 Inject_1.Position = UDim2.new(0.6585590243339539, 0, 0.8424908518791199, 0) Inject_1.Size = UDim2.new(0, 143, 0, 37) Inject_1.FontFace = Font.new("rbxassetid://11322590111", Enum.FontWeight.Regular, Enum.FontStyle.Normal) Inject_1.RichText = true Inject_1.Text = "Inject" Inject_1.TextColor3 = Color3.fromRGB(255, 255, 255) Inject_1.TextSize = 27 Inject_1.TextWrapped = true UICorner_5.CornerRadius = UDim.new(0, 5) UICorner_5.Parent = Inject_1 UIStroke_5.ApplyStrokeMode = Enum.ApplyStrokeMode.Border UIStroke_5.Color = Color3.fromRGB(15, 15, 15) UIStroke_5.Thickness = 2 UIStroke_5.Parent = Inject_1 Clear_1.BackgroundColor3 = Color3.fromRGB(5, 5, 5) Clear_1.Name = "Clear" Clear_1.Parent = Moon_1 Clear_1.Position = UDim2.new(0.3058568239212036, 0, 0.8424908518791199, 0) Clear_1.Size = UDim2.new(0, 130, 0, 37) Clear_1.FontFace = Font.new("rbxassetid://11322590111", Enum.FontWeight.Regular, Enum.FontStyle.Normal) Clear_1.RichText = true Clear_1.Text = "Clear" Clear_1.TextColor3 = Color3.fromRGB(255, 255, 255) Clear_1.TextSize = 25 Clear_1.TextWrapped = true UICorner_6.CornerRadius = UDim.new(0, 5) UICorner_6.Parent = Clear_1 UIStroke_6.ApplyStrokeMode = Enum.ApplyStrokeMode.Border UIStroke_6.Color = Color3.fromRGB(15, 15, 15) UIStroke_6.Thickness = 2 UIStroke_6.Parent = Clear_1 local function C4507f5bb2e204d2f9f2270ac5840409() local script = Instance.new("LocalScript", Moon_1) local UserInputService = game:GetService("UserInputService") local runService = (game:GetService("RunService")); local gui = script.Parent local dragging local dragInput local dragStart local startPos function Lerp(a, b, m) return a + (b - a) * m end; local lastMousePos local lastGoalPos local DRAG_SPEED = (8); -- // The speed of the UI darg. function Update(dt) if not (startPos) then return end; if not (dragging) and (lastGoalPos) then gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, lastGoalPos.X.Offset, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, lastGoalPos.Y.Offset, dt * DRAG_SPEED)) return end; local delta = (lastMousePos - UserInputService:GetMouseLocation()) local xGoal = (startPos.X.Offset - delta.X); local yGoal = (startPos.Y.Offset - delta.Y); lastGoalPos = UDim2.new(startPos.X.Scale, xGoal, startPos.Y.Scale, yGoal) gui.Position = UDim2.new(startPos.X.Scale, Lerp(gui.Position.X.Offset, xGoal, dt * DRAG_SPEED), startPos.Y.Scale, Lerp(gui.Position.Y.Offset, yGoal, dt * DRAG_SPEED)) end; gui.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = gui.Position lastMousePos = UserInputService:GetMouseLocation() input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) gui.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) runService.Heartbeat:Connect(Update) end coroutine.wrap(C4507f5bb2e204d2f9f2270ac5840409)() local function C232024455cb2463393a7c3ebb586413() local script = Instance.new("LocalScript", ScrollingTextbox_1) local textArea = script.Parent.Field local scrollFrame = script.Parent textArea.Changed:Connect(function(prop) if prop == "Text" or prop=="TextFits" then while textArea.TextFits == false do scrollFrame.CanvasSize = UDim2.new(0, 0, 0, scrollFrame.CanvasSize.Y.Offset + 16) --scrollFrame.CanvasPosition = Vector2.new(0, scrollFrame.CanvasSize.Y.Offset - scrollFrame.AbsoluteWindowSize.Y) task.wait() end elseif prop=="TextBounds" then if scrollFrame.CanvasSize.Y.Offset > textArea.TextBounds.Y + 16 then scrollFrame.CanvasSize = UDim2.new(0, 0, 0, textArea.TextBounds.Y) --scrollFrame.CanvasPosition = Vector2.new(0, scrollFrame.CanvasSize.Y.Offset - scrollFrame.AbsoluteWindowSize.Y) end end end) end coroutine.wrap(C232024455cb2463393a7c3ebb586413)() local function Cd1b8b7f90a3f414eb175cc03ebf2d53() local script = Instance.new("LocalScript", Exe_1) script.Parent.MouseButton1Click:Connect(function() local code = script.Parent.Parent.ScrollingTextbox.Field.Text if game.ReplicatedStorage:FindFirstChild("RemoteEvent") then game.ReplicatedStorage.RemoteEvent:FireServer(code) elseif game.Workspace:FindFirstChild("RemoteEvent") then game.Workspace.RemoteEvent:FireServer(code) elseif game.ServerScriptService:FindFirstChild("RemoteEvent") then game.ReplicatedStorage.RemoteEvent:FireServer(code) else print("Inject First Before Executing!") end end) end coroutine.wrap(Cd1b8b7f90a3f414eb175cc03ebf2d53)() local function C5130b10658104555816994862d15c05() local script = Instance.new("LocalScript", Inject_1) local Players = game:GetService("Players") local player = Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") button = script.Parent local screenGui = playerGui:WaitForChild("XMOONX") script.Parent.MouseButton1Click:Connect(function() local susNames = {"remoteevent","RemoteEvent", "backdoor", "exploit", "admin", "re", "cmd", "script"} local backdoorParents = {game.ReplicatedStorage,game.ServerScriptService,game.ServerStorage,} local foundBackdoors = false local function issuspicious(name) name = name:lower() for _, sus in pairs(susNames) do if string.find(name, sus) then return true end end return false end local function printprogress(msg, times, delayTime) for i = 1, times do print(msg) task.wait(delayTime) end end print("[Moon] fully working ✅") printprogress("--backdoor scanning--", 20, 0.05) print("[Moon] Starting deep scan...") for percent = 0, 100, 5 do print(string.format("[Moon] Getting backdoor %d%% ..", percent)) task.wait(0.1) end for _, parent in pairs(backdoorParents) do for _, obj in pairs(parent:GetDescendants()) do if (obj:IsA("RemoteEvent") or obj:IsA("BindableEvent")) and issuspicious(obj.Name) then foundBackdoors = true task.wait(0.2) end end end for _, obj in pairs(game:GetDescendants()) do if (obj:IsA("RemoteEvent") or obj:IsA("BindableEvent")) and issuspicious(obj.Name) then foundBackdoors = true print("[Moon] Backdoor exist: " .. obj:GetFullName()) task.wait(0.2) end end if not foundBackdoors then print("[Moon] Backdoor does not exist in this game") end end) end coroutine.wrap(C5130b10658104555816994862d15c05)() local function C4f724e730c5442b89f68c79fe8f3d1a() local script = Instance.new("LocalScript", Clear_1) local button = script.Parent local parent = button.Parent local textBox = parent.ScrollingTextbox.Field button.MouseButton1Click:Connect(function() if textBox then textBox.Text = "" end end) end coroutine.wrap(C4f724e730c5442b89f68c79fe8f3d1a)()