Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local screenGui = Instance.new("ScreenGui")
- screenGui.Name = "4gH3w2 F3X gui V7.80"
- screenGui.Parent = player:WaitForChild("PlayerGui")
- screenGui.ResetOnSpawn = false -- Keep GUI on respawn
- local CUSTOM_FONT = Font.fromId(12187363368)
- local OUTLINE = Color3.fromRGB(0, 255, 0) -- GREEN
- local mainFrame = Instance.new("Frame")
- mainFrame.Size = UDim2.new(0, 540, 0, 605)
- mainFrame.Position = UDim2.new(0.5, -270, 0.5, -302)
- mainFrame.BackgroundColor3 = Color3.new(0, 0, 0)
- mainFrame.BackgroundTransparency = 0 -- Important: Ensure it's visible
- mainFrame.BorderSizePixel = 3
- mainFrame.BorderColor3 = OUTLINE
- mainFrame.Active = true
- mainFrame.Draggable = true
- mainFrame.Parent = screenGui
- local titleLabel = Instance.new("TextLabel")
- titleLabel.Size = UDim2.new(1, 0, 0, 44)
- titleLabel.Position = UDim2.new(0, 0, 0, 0)
- titleLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- titleLabel.BorderSizePixel = 2
- titleLabel.BorderColor3 = OUTLINE
- titleLabel.FontFace = CUSTOM_FONT
- titleLabel.Text = "4gH3w2 F3X gui V4.71"
- titleLabel.TextColor3 = OUTLINE
- titleLabel.TextSize = 30
- titleLabel.Parent = mainFrame
- local scroll = Instance.new("ScrollingFrame")
- scroll.Size = UDim2.new(1, -18, 1, -54)
- scroll.Position = UDim2.new(0, 9, 0, 49)
- scroll.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- scroll.BackgroundTransparency = 0.13
- scroll.BorderSizePixel = 0
- scroll.CanvasSize = UDim2.new(0, 0, 0, 3300)
- scroll.ScrollBarThickness = 10
- scroll.Parent = mainFrame
- scroll.ZIndex = 1 -- Ensure scroll is above
- -- Utility Functions
- local function findF3XTool()
- for _, v in pairs(player:GetDescendants()) do
- if v.Name == "SyncAPI" then return v.Parent end
- end
- for _, v in pairs(game.ReplicatedStorage:GetDescendants()) do
- if v.Name == "SyncAPI" then return v.Parent end
- end
- return nil
- end
- local function styledButton(text, x, y, wide, color)
- local btn = Instance.new("TextButton")
- if wide then
- btn.Size = UDim2.new(0, 518, 0, 44)
- btn.Position = UDim2.new(0, 5, 0, y)
- else
- btn.Size = UDim2.new(0, 254, 0, 44)
- btn.Position = UDim2.new(0, x, 0, y)
- end
- btn.BackgroundColor3 = Color3.new(0, 0, 0)
- btn.BorderSizePixel = 2
- btn.BorderColor3 = OUTLINE
- btn.FontFace = CUSTOM_FONT
- btn.Text = text
- btn.TextColor3 = color or OUTLINE
- btn.TextSize = 21
- btn.TextWrapped = true
- btn.Parent = scroll
- -- Add hover effect
- btn.MouseEnter:Connect(function()
- btn.BackgroundTransparency = 0.2
- end)
- btn.MouseLeave:Connect(function()
- btn.BackgroundTransparency = 0
- end)
- return btn
- end
- -- F3X Functions
- local function executeFunctions(toolObj)
- if not toolObj then
- print("F3X Tool not found")
- return {}
- end
- local remote = toolObj.SyncAPI.ServerEndpoint
- local function _(args)
- remote:InvokeServer(unpack(args))
- end
- local function SetCollision(part, boolean)
- _({ "SyncCollision", { { Part = part, CanCollide = boolean } } })
- end
- local function SetAnchor(boolean, part)
- _({ "SyncAnchor", { { Part = part, Anchored = boolean } } })
- end
- local function CreatePart(cf, parent)
- parent = parent or workspace
- _({ "CreatePart", "Normal", cf, parent })
- end
- local function DestroyPart(part)
- _({ "Remove", { part } })
- end
- local function MovePart(part, cf)
- _({ "SyncMove", { { Part = part, CFrame = cf } } })
- end
- local function Resize(part, size, cf)
- _({ "SyncResize", { { Part = part, CFrame = cf, Size = size } } })
- end
- local function AddMesh(part)
- _({ "CreateMeshes", { { Part = part } } })
- end
- local function SetMesh(part, meshid)
- _({ "SyncMesh", { { Part = part, MeshId = "rbxassetid://" .. meshid } } })
- end
- local function SetTexture(part, texid)
- _({ "SyncMesh", { { Part = part, TextureId = "rbxassetid://" .. texid } } })
- end
- local function SetName(part, stringg)
- _({ "SetName", { part }, stringg })
- end
- local function MeshResize(part, size)
- _({ "SyncMesh", { { Part = part, Scale = size } } })
- end
- local function SetLocked(part, boolean)
- _({ "SetLocked", { part }, boolean })
- end
- local function SetTrans(part, int)
- _({ "SyncMaterial", { { Part = part, Transparency = int } } })
- end
- local function SpawnDecal(part, side)
- _({ "CreateTextures", { { Part = part, Face = side, TextureType = "Decal" } } })
- end
- local function AddDecal(part, asset, side)
- _({ "SyncTexture", { { Part = part, Face = side, TextureType = "Decal", Texture = "rbxassetid://" .. asset } } })
- end
- return {
- SetCollision = SetCollision,
- SetAnchor = SetAnchor,
- CreatePart = CreatePart,
- DestroyPart = DestroyPart,
- MovePart = MovePart,
- Resize = Resize,
- AddMesh = AddMesh,
- SetMesh = SetMesh,
- SetTexture = SetTexture,
- SetName = SetName,
- MeshResize = MeshResize,
- SetLocked = SetLocked,
- SetTrans = SetTrans,
- SpawnDecal = SpawnDecal,
- AddDecal = AddDecal
- }
- end
- -- Rain Meshes Function
- local function rainMeshes(meshID, textureID, name, scale, count, height, isAnchor)
- local tool = findF3XTool()
- if not tool then
- warn("No F3X tool found!")
- return
- end
- local funcs = executeFunctions(tool)
- local char = player.Character
- if not char or not char:FindFirstChild("HumanoidRootPart") then
- warn("Character not found!")
- return
- end
- local hrp = char.HumanoidRootPart
- for i = 1, count do
- task.spawn(function()
- local position = hrp.Position
- local randX = math.random(-500, 500)
- local randY = math.random(height, height + 100)
- local randZ = math.random(-500, 500)
- funcs.CreatePart(CFrame.new(position.X + randX, position.Y + randY, position.Z + randZ), workspace)
- -- Find the newly created part
- task.wait(0.05)
- for _, v in pairs(workspace:GetChildren()) do
- if v:IsA("BasePart") and
- math.abs(v.Position.X - (position.X + randX)) < 1 and
- math.abs(v.Position.Z - (position.Z + randZ)) < 1 and
- v.Name == "Part" then
- funcs.SetName(v, name or "Mesh")
- funcs.AddMesh(v)
- funcs.SetMesh(v, meshID)
- funcs.SetTexture(v, textureID)
- funcs.MeshResize(v, Vector3.new(scale, scale, scale))
- funcs.SetCollision(v, true)
- funcs.SetAnchor(isAnchor or false, v)
- -- Add sound if needed
- local sound = Instance.new("Sound", v)
- sound.SoundId = "rbxassetid://142376088" -- A swoosh sound
- sound.Volume = 0.5
- sound:Play()
- break
- end
- end
- end)
- task.wait(0.05) -- Wait a short time between spawns for performance
- end
- end
- -- HD Admin Functions
- local function sendHDAdmin(cmd)
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local RequestCommand = ReplicatedStorage:WaitForChild("HDAdminHDClient", 3)
- if RequestCommand then
- RequestCommand.Signals.RequestCommand:InvokeServer(cmd)
- else
- warn("HDAdmin not found")
- end
- end
- local function makeSkybox(skyName, texID)
- local tool = findF3XTool()
- if not tool then
- warn("No F3X found.")
- return
- end
- local funcs = executeFunctions(tool)
- local char = player.Character
- if not char or not char:FindFirstChild("HumanoidRootPart") then return end
- --Added the character protection - Local variable for humanoid
- local humanoid = char:FindFirstChild("Humanoid")
- if humanoid then
- humanoid.Health = humanoid.MaxHealth
- end
- local pos = char.HumanoidRootPart.Position
- funcs.CreatePart(CFrame.new(math.floor(pos.x), math.floor(pos.y), math.floor(pos.z)) + Vector3.new(0, 6, 0), workspace)
- task.wait(0.05)
- for _, v in workspace:GetDescendants() do
- if v:IsA("BasePart") and math.floor(v.Position.x) == math.floor(pos.x) and math.floor(v.Position.z) == math.floor(pos.z) then
- funcs.SetName(v, skyName)
- funcs.AddMesh(v)
- funcs.SetMesh(v, "111891702759441")
- funcs.SetTexture(v, texID)
- funcs.MeshResize(v, Vector3.new(6000, 6000, 6000))
- funcs.SetLocked(v, true)
- end
- end
- end
- local function spamDecal(name, asset)
- local tool = findF3XTool()
- if not tool then
- warn("No F3X found.")
- return
- end
- local funcs = executeFunctions(tool)
- local faces = {
- Enum.NormalId.Front,
- Enum.NormalId.Back,
- Enum.NormalId.Right,
- Enum.NormalId.Left,
- Enum.NormalId.Bottom,
- Enum.NormalId.Top
- }
- --Added the character protection - Check for valid character
- local char = player.Character
- if not char or not char:FindFirstChild("HumanoidRootPart") then return end
- -- Local variable for humanoid
- local humanoid = char:FindFirstChild("Humanoid")
- if humanoid then
- humanoid.Health = humanoid.MaxHealth
- end
- for _, v in workspace:GetDescendants() do
- if v:IsA("BasePart") then
- task.spawn(function()
- funcs.SetLocked(v, false)
- for _, face in ipairs(faces) do
- funcs.SpawnDecal(v, face)
- funcs.AddDecal(v, asset, face)
- end
- v.Name = name
- end)
- end
- end
- end
- --Prevent Character to die/reset Local Script - Using character properties
- local function protectCharacter(character)
- if not character then return end
- -- Listen for the character's death
- local humanoid = character:FindFirstChild("Humanoid")
- if humanoid then
- humanoid.Died:Connect(function()
- -- Prevent the character from respawning immediately
- humanoid.Health = humanoid.MaxHealth
- -- You might want to add some visual effects or UI here to indicate the character is "protected"
- end)
- end
- end
- -- Connect to Player.CharacterAdded to protect new characters
- player.CharacterAdded:Connect(protectCharacter)
- -- Protect the initial character, if one already exists
- protectCharacter(player.Character)
- -- Add the status indicator
- local statusLabel = Instance.new("TextLabel")
- statusLabel.Size = UDim2.new(1, 0, 0, 25)
- statusLabel.Position = UDim2.new(0, 0, 1, -25)
- statusLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- statusLabel.BorderSizePixel = 2
- statusLabel.BorderColor3 = OUTLINE
- statusLabel.FontFace = CUSTOM_FONT
- statusLabel.Text = "Status: Ready"
- statusLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
- statusLabel.TextSize = 16
- statusLabel.Parent = mainFrame
- local function updateStatus(text, color)
- statusLabel.Text = "Status: " .. text
- statusLabel.TextColor3 = color or Color3.fromRGB(0, 255, 0)
- task.delay(3, function()
- statusLabel.Text = "Status: Ready"
- statusLabel.TextColor3 = Color3.fromRGB(0, 255, 0)
- end)
- end
- -- Create category labels
- local function createCategory(text, y)
- local category = Instance.new("TextLabel")
- category.Size = UDim2.new(0, 518, 0, 30)
- category.Position = UDim2.new(0, 5, 0, y)
- category.BackgroundColor3 = Color3.fromRGB(40, 0, 0)
- category.BorderSizePixel = 2
- category.BorderColor3 = OUTLINE
- category.FontFace = CUSTOM_FONT
- category.Text = "== " .. text .. " =="
- category.TextColor3 = Color3.fromRGB(255, 255, 255)
- category.TextSize = 18
- category.Parent = scroll
- return y + 35
- end
- local y = 4
- local sep = 50
- -- SKYBOXES & DECALS Category
- y = createCategory("SKYBOXES & DECALS", y)
- local decalButtons = {
- {"4gH3w2 skybox", "4gH3w2 decal", "71298651733683"},
- {"k00pkidd skybox", "k00pkidd decal", "95730674007967"},
- {"4gH3w2 skybox 2", "4gH3w2 decal 2", "120446217705821"},
- {"CHEESE skybox", "CHEESE decal", "77068268752059"},
- {"v00dkidd skybox", "v00dkidd decal", "89469892529245"},
- {"4gH3w2 Skybox 3", "4gH3w2 decal 3", "98645281234100"},
- {"v00dkidd skybox 2", "v00dkidd decal 2", "95921788891849"}, -- Added your requested v00dkidd options
- }
- for _, btnData in ipairs(decalButtons) do
- local skyBtn = styledButton(btnData[1], 8, y)
- skyBtn.MouseButton1Click:Connect(function()
- updateStatus("Creating " .. btnData[1] .. "...", Color3.fromRGB(255, 165, 0))
- makeSkybox(btnData[1], btnData[3])
- updateStatus(btnData[1] .. " created!", Color3.fromRGB(0, 255, 0))
- end)
- local decalBtn = styledButton(btnData[2], 274, y)
- decalBtn.MouseButton1Click:Connect(function()
- updateStatus("Spamming " .. btnData[2] .. "...", Color3.fromRGB(255, 165, 0))
- spamDecal(btnData[2], btnData[3])
- updateStatus(btnData[2] .. " spam complete!", Color3.fromRGB(0, 255, 0))
- end)
- y = y + sep
- end
- -- MESH RAIN Category
- y = createCategory("MESH RAIN", y)
- local meshRainButtons = {
- {name = "SpongeBob Rain", meshID = "5443404640", textureID = "5443404720", scale = 78, count = 100, height = 300},
- {name = "Toads Rain", meshID = "111891702759441", textureID = "382332426", scale = 500, count = 50, height = 400},
- {name = "Skulls Rain", meshID = "36869983", textureID = "36869975", scale = 50, count = 100, height = 350},
- {name = "Penguin Rain", meshID = "14832966960", textureID = "95921788891849", scale = 120, count = 75, height = 300},
- }
- for _, rainData in ipairs(meshRainButtons) do
- styledButton(rainData.name, 8, y, true).MouseButton1Click:Connect(function()
- updateStatus("Starting " .. rainData.name .. "...", Color3.fromRGB(255, 165, 0))
- rainMeshes(
- rainData.meshID,
- rainData.textureID,
- rainData.name,
- rainData.scale,
- rainData.count,
- rainData.height,
- false
- )
- updateStatus(rainData.name .. " activated!", Color3.fromRGB(0, 255, 0))
- end)
- y = y + sep
- end
- -- Custom Mesh Rain controls
- y = createCategory("CUSTOM MESH RAIN", y)
- -- Mesh ID input
- local meshIDLabel = Instance.new("TextLabel")
- meshIDLabel.Size = UDim2.new(0, 100, 0, 30)
- meshIDLabel.Position = UDim2.new(0, 8, 0, y)
- meshIDLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- meshIDLabel.BorderSizePixel = 0
- meshIDLabel.FontFace = CUSTOM_FONT
- meshIDLabel.Text = "Mesh ID:"
- meshIDLabel.TextColor3 = OUTLINE
- meshIDLabel.TextSize = 18
- meshIDLabel.Parent = scroll
- local meshIDInput = Instance.new("TextBox")
- meshIDInput.Size = UDim2.new(0, 406, 0, 30)
- meshIDInput.Position = UDim2.new(0, 110, 0, y)
- meshIDInput.BackgroundColor3 = Color3.new(20/255, 20/255, 20/255)
- meshIDInput.BorderSizePixel = 2
- meshIDInput.BorderColor3 = OUTLINE
- meshIDInput.FontFace = CUSTOM_FONT
- meshIDInput.PlaceholderText = "Enter mesh ID..."
- meshIDInput.Text = ""
- meshIDInput.TextColor3 = Color3.new(1, 1, 1)
- meshIDInput.TextSize = 16
- meshIDInput.Parent = scroll
- y = y + 35
- -- Texture ID input
- local textureIDLabel = Instance.new("TextLabel")
- textureIDLabel.Size = UDim2.new(0, 100, 0, 30)
- textureIDLabel.Position = UDim2.new(0, 8, 0, y)
- textureIDLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- textureIDLabel.BorderSizePixel = 0
- textureIDLabel.FontFace = CUSTOM_FONT
- textureIDLabel.Text = "Texture ID:"
- textureIDLabel.TextColor3 = OUTLINE
- textureIDLabel.TextSize = 18
- textureIDLabel.Parent = scroll
- local textureIDInput = Instance.new("TextBox")
- textureIDInput.Size = UDim2.new(0, 406, 0, 30)
- textureIDInput.Position = UDim2.new(0, 110, 0, y)
- textureIDInput.BackgroundColor3 = Color3.new(20/255, 20/255, 20/255)
- textureIDInput.BorderSizePixel = 2
- textureIDInput.BorderColor3 = OUTLINE
- textureIDInput.FontFace = CUSTOM_FONT
- textureIDInput.PlaceholderText = "Enter texture ID..."
- textureIDInput.Text = ""
- textureIDInput.TextColor3 = Color3.new(1, 1, 1)
- textureIDInput.TextSize = 16
- textureIDInput.Parent = scroll
- y = y + 35
- -- Scale input
- local scaleLabel = Instance.new("TextLabel")
- scaleLabel.Size = UDim2.new(0, 100, 0, 30)
- scaleLabel.Position = UDim2.new(0, 8, 0, y)
- scaleLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- scaleLabel.BorderSizePixel = 0
- scaleLabel.FontFace = CUSTOM_FONT
- scaleLabel.Text = "Scale:"
- scaleLabel.TextColor3 = OUTLINE
- scaleLabel.TextSize = 18
- scaleLabel.Parent = scroll
- local scaleInput = Instance.new("TextBox")
- scaleInput.Size = UDim2.new(0, 406, 0, 30)
- scaleInput.Position = UDim2.new(0, 110, 0, y)
- scaleInput.BackgroundColor3 = Color3.new(20/255, 20/255, 20/255)
- scaleInput.BorderSizePixel = 2
- scaleInput.BorderColor3 = OUTLINE
- scaleInput.FontFace = CUSTOM_FONT
- scaleInput.PlaceholderText = "Enter scale (e.g. 100)..."
- scaleInput.Text = "100"
- scaleInput.TextColor3 = Color3.new(1, 1, 1)
- scaleInput.TextSize = 16
- scaleInput.Parent = scroll
- y = y + 35
- -- Count input
- local countLabel = Instance.new("TextLabel")
- countLabel.Size = UDim2.new(0, 100, 0, 30)
- countLabel.Position = UDim2.new(0, 8, 0, y)
- countLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- countLabel.BorderSizePixel = 0
- countLabel.FontFace = CUSTOM_FONT
- countLabel.Text = "Count:"
- countLabel.TextColor3 = OUTLINE
- countLabel.TextSize = 18
- countLabel.Parent = scroll
- local countInput = Instance.new("TextBox")
- countInput.Size = UDim2.new(0, 406, 0, 30)
- countInput.Position = UDim2.new(0, 110, 0, y)
- countInput.BackgroundColor3 = Color3.new(20/255, 20/255, 20/255)
- countInput.BorderSizePixel = 2
- countInput.BorderColor3 = OUTLINE
- countInput.FontFace = CUSTOM_FONT
- countInput.PlaceholderText = "How many meshes? (e.g. 50)..."
- countInput.Text = "50"
- countInput.TextColor3 = Color3.new(1, 1, 1)
- countInput.TextSize = 16
- countInput.Parent = scroll
- y = y + 40
- -- Start Custom Rain button
- local customRainButton = styledButton("Start Custom Mesh Rain", 8, y, true)
- customRainButton.MouseButton1Click:Connect(function()
- local meshID = meshIDInput.Text
- local textureID = textureIDInput.Text
- local scale = tonumber(scaleInput.Text) or 100
- local count = tonumber(countInput.Text) or 50
- if meshID == "" or textureID == "" then
- updateStatus("Please enter mesh and texture IDs", Color3.fromRGB(255, 0, 0))
- return
- end
- updateStatus("Starting custom mesh rain...", Color3.fromRGB(255, 165, 0))
- rainMeshes(meshID, textureID, "Custom Mesh", scale, count, 300, false)
- updateStatus("Custom mesh rain activated!", Color3.fromRGB(0, 255, 0))
- end)
- y = y + sep
- -- MUSIC & AUDIO Category
- y = createCategory("MUSIC & AUDIO", y)
- local musicButtons = {
- {"Noot Noot", function()
- updateStatus("Playing Noot Noot sequence...", Color3.fromRGB(255, 165, 0))
- sendHDAdmin(";music 104576360535209")
- sendHDAdmin(";pitch 0.2")
- sendHDAdmin(";volume inf")
- task.wait(9)
- sendHDAdmin(";music 236932924")
- sendHDAdmin(";volume inf")
- task.wait(1.124)
- sendHDAdmin(";music 1839931391")
- sendHDAdmin(";volume inf")
- updateStatus("Noot Noot activated!", Color3.fromRGB(0, 255, 0))
- end},
- {"Theme 1", function()
- sendHDAdmin(";music 135881205397136")
- sendHDAdmin(";volume inf")
- sendHDAdmin(";pitch 1.3")
- updateStatus("Theme 1 now playing!", Color3.fromRGB(0, 255, 0))
- end},
- {"Theme 2", function()
- sendHDAdmin(";music 138397903891342")
- sendHDAdmin(";volume inf")
- updateStatus("Theme 2 now playing!", Color3.fromRGB(0, 255, 0))
- end},
- {"Theme 3", function()
- sendHDAdmin(";music 76578817848504")
- sendHDAdmin(";volume inf")
- updateStatus("Theme 3 now playing!", Color3.fromRGB(0, 255, 0))
- end},
- {"Speed Moan", function()
- sendHDAdmin(";music 121845363817817")
- sendHDAdmin(";volume inf")
- sendHDAdmin(";pitch 0.9")
- updateStatus("Speed Moan playing!", Color3.fromRGB(255, 0, 255))
- end},
- {"MASK OFF", function()
- sendHDAdmin(";music 106786416076383")
- sendHDAdmin(";volume inf")
- updateStatus("MASK OFF playing!", Color3.fromRGB(0, 255, 0))
- end},
- {"Stop Music", function()
- sendHDAdmin(";stopmusic")
- updateStatus("Music stopped", Color3.fromRGB(255, 100, 100))
- end}
- }
- for _, musicData in ipairs(musicButtons) do
- styledButton(musicData[1], 8, y, true).MouseButton1Click:Connect(musicData[2])
- y = y + sep
- end
- -- SERVER CONTROLS Category
- y = createCategory("SERVER CONTROLS", y)
- local serverControls = {
- {"Disco Mode", function()
- sendHDAdmin(";disco")
- sendHDAdmin(";fog 10")
- updateStatus("Disco mode activated!", Color3.fromRGB(255, 0, 255))
- end},
- {"Explode Others (Loop)", function()
- for i = 1, 10 do
- task.spawn(function()
- sendHDAdmin(";explode others")
- end)
- task.wait(2)
- end
- updateStatus("Exploding others!", Color3.fromRGB(255, 0, 0))
- end},
- {"Respawn Self", function()
- sendHDAdmin(";re")
- updateStatus("Respawning...", Color3.fromRGB(255, 165, 0))
- end},
- {"F3X", function()
- sendHDAdmin(";give me b")
- sendHDAdmin(";buildingTools")
- updateStatus("Building tools obtained!", Color3.fromRGB(0, 200, 255))
- end},
- {"Kill All", function()
- sendHDAdmin(";loopkill all")
- updateStatus("Kill all activated!", Color3.fromRGB(255, 0, 0))
- end},
- {"Fire All", function()
- sendHDAdmin(";fire all")
- updateStatus("Everyone is on fire!", Color3.fromRGB(255, 100, 0))
- end},
- {"Server Message Spam", function()
- for i = 1, 4 do
- sendHDAdmin(";chat all BLUE2SPOOKY")
- end
- updateStatus("Chat spammed!", Color3.fromRGB(0, 200, 255))
- end},
- {"Save Map", function()
- sendHDAdmin(";savemap")
- updateStatus("Map saved!", Color3.fromRGB(0, 255, 0))
- end},
- {"Load Map", function()
- sendHDAdmin(";loadmap")
- updateStatus("Map loaded!", Color3.fromRGB(0, 255, 0))
- end}
- }
- for _, controlData in ipairs(serverControls) do
- styledButton(controlData[1], 8, y, true).MouseButton1Click:Connect(controlData[2])
- y = y + sep
- end
- -- COMBINED SKYBOX & DECAL COMMANDS Category
- y = createCategory("COMBINED SKYBOX & DECAL COMMANDS", y)
- -- Combined Input
- local combinedInputLabel = Instance.new("TextLabel")
- combinedInputLabel.Size = UDim2.new(0, 200, 0, 30)
- combinedInputLabel.Position = UDim2.new(0, 8, 0, y)
- combinedInputLabel.BackgroundColor3 = Color3.new(0, 0, 0)
- combinedInputLabel.BorderSizePixel = 0
- combinedInputLabel.FontFace = CUSTOM_FONT
- combinedInputLabel.Text = "Skybox/Decal ID:"
- combinedInputLabel.TextColor3 = OUTLINE
- combinedInputLabel.TextSize = 18
- combinedInputLabel.Parent = scroll
- local combinedInput = Instance.new("TextBox")
- combinedInput.Size = UDim2.new(0, 310, 0, 30)
- combinedInput.Position = UDim2.new(0, 210, 0, y)
- combinedInput.BackgroundColor3 = Color3.new(20/255, 20/255, 20/255)
- combinedInput.BorderSizePixel = 2
- combinedInput.BorderColor3 = OUTLINE
- combinedInput.FontFace = CUSTOM_FONT
- combinedInput.PlaceholderText = "Enter Asset ID..."
- combinedInput.Text = ""
- combinedInput.TextColor3 = Color3.new(1, 1, 1)
- combinedInput.TextSize = 16
- combinedInput.Parent = scroll
- y = y + 35
- -- Execute Combined button
- local executeCombinedButton = styledButton("Apply Skybox & Decal", 8, y, true, Color3.fromRGB(0, 200, 0))
- executeCombinedButton.MouseButton1Click:Connect(function()
- local assetID = combinedInput.Text
- if assetID ~= "" then
- updateStatus("Applying Skybox & Decal...", Color3.fromRGB(255, 165, 0))
- makeSkybox("CustomSky", assetID)
- spamDecal("CustomDecal", assetID)
- updateStatus("Skybox & Decal Applied!", Color3.fromRGB(0, 255, 0))
- else
- updateStatus("Please enter an Asset ID", Color3.fromRGB(255, 0, 0))
- end
- end)
- y = y + sep
- -- CUSTOM COMMANDS Category
- y = createCategory("CUSTOM COMMANDS", y)
- local customCommandInput = Instance.new("TextBox")
- customCommandInput.Size = UDim2.new(0, 518, 0, 40)
- customCommandInput.Position = UDim2.new(0, 5, 0, y)
- customCommandInput.BackgroundColor3 = Color3.fromRGB
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement