1hatgui
Key RequiredUniversal

1hatgui

Universal Scriptthe1hatboythe1hatboy 277 views 8 executesUpdated Apr 10, 2026
Unrated
00
Lua Script•245 lines (8939 chars)
-- 1hatgui - Black & Yellow Theme (Universal Version)
-- Works on most executors including Delta

local Players = game:GetService("Players")
local player = Players.LocalPlayer

-- Wait for PlayerGui safely
local playerGui = player:WaitForChild("PlayerGui", 10)

-- Create ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "1hatgui"
screenGui.ResetOnSpawn = false
screenGui.Parent = playerGui

-- Main Frame
local mainFrame = Instance.new("Frame")
mainFrame.Size = UDim2.new(0, 320, 0, 460)
mainFrame.Position = UDim2.new(0.5, -160, 0.5, -230)
mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
mainFrame.BorderSizePixel = 0
mainFrame.Active = true
mainFrame.Draggable = true
mainFrame.Parent = screenGui

-- Yellow Title Bar
local titleBar = Instance.new("Frame")
titleBar.Size = UDim2.new(1, 0, 0, 60)
titleBar.BackgroundColor3 = Color3.fromRGB(255, 215, 0)
titleBar.BorderSizePixel = 0
titleBar.Parent = mainFrame

local title = Instance.new("TextLabel")
title.Size = UDim2.new(1, 0, 1, 0)
title.BackgroundTransparency = 1
title.Text = "1hatgui"
title.TextColor3 = Color3.fromRGB(0, 0, 0)
title.TextSize = 28
title.Font = Enum.Font.GothamBold
title.Parent = titleBar

-- Close Button
local closeBtn = Instance.new("TextButton")
closeBtn.Size = UDim2.new(0, 40, 0, 40)
closeBtn.Position = UDim2.new(1, -45, 0, 10)
closeBtn.BackgroundColor3 = Color3.fromRGB(255, 215, 0)
closeBtn.Text = "X"
closeBtn.TextColor3 = Color3.fromRGB(0, 0, 0)
closeBtn.TextSize = 26
closeBtn.Font = Enum.Font.GothamBold
closeBtn.Parent = titleBar

closeBtn.MouseButton1Click:Connect(function()
    screenGui:Destroy()
end)

-- Button Data
local buttons = {
    {name = "Decal Spam",       func = "decal"},
    {name = "Tilt Map",         func = "tilt"},
    {name = "Skeleton Sky",     func = "skeleton"},
    {name = "Burn All Player",  func = "burn"},
    {name = "Fire All Remotes", func = "remotes"}
}

for i, btn in ipairs(buttons) do
    local button = Instance.new("TextButton")
    button.Size = UDim2.new(0.85, 0, 0, 55)
    button.Position = UDim2.new(0.075, 0, 0, 75 + (i-1)*68)
    button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    button.BorderSizePixel = 0
    button.Text = btn.name
    button.TextColor3 = Color3.fromRGB(255, 215, 0)
    button.TextSize = 19
    button.Font = Enum.Font.GothamSemibold
    button.Parent = mainFrame

    -- Hover
    button.MouseEnter:Connect(function()
        button.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
    end)
    button.MouseLeave:Connect(function()
        button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    end)

    button.MouseButton1Click:Connect(function()
        if btn.func == "decal" then
            print("🚨 Decal Spam Activated!")
            local decalID = 129220092592044
            local soundID = 1847661821

            local function exPro(root)
                for _, v in pairs(root:GetChildren()) do
                    if v:IsA("Decal") then
                        v:Destroy()
                    elseif v:IsA("BasePart") then
                        v.Material = Enum.Material.Plastic
                        v.Transparency = 0
                        local faces = {"Front","Back","Right","Left","Top","Bottom"}
                        for _, face in ipairs(faces) do
                            local d = Instance.new("Decal")
                            d.Texture = "http://www.roblox.com/asset/?id=" .. decalID
                            d.Face = Enum.NormalId[face]
                            d.Parent = v
                        end
                    end
                    exPro(v)
                end
            end

            exPro(workspace)

            -- Sky
            for _, s in pairs(game.Lighting:GetChildren()) do
                if s:IsA("Sky") then s:Destroy() end
            end
            local sky = Instance.new("Sky")
            sky.SkyboxBk = "http://www.roblox.com/asset/?id=" .. decalID
            sky.SkyboxDn = "http://www.roblox.com/asset/?id=" .. decalID
            sky.SkyboxFt = "http://www.roblox.com/asset/?id=" .. decalID
            sky.SkyboxLf = "http://www.roblox.com/asset/?id=" .. decalID
            sky.SkyboxRt = "http://www.roblox.com/asset/?id=" .. decalID
            sky.SkyboxUp = "http://www.roblox.com/asset/?id=" .. decalID
            sky.Parent = game.Lighting

            -- Sound
            local sound = Instance.new("Sound")
            sound.SoundId = "rbxassetid://" .. soundID
            sound.Looped = true
            sound.Volume = 1
            sound.Parent = workspace
            sound:Play()

            print("✅ Decal Spam + Sky + Sound done!")

        elseif btn.func == "tilt" then
            print("🔄 Tilt Map Activated!")
            local baseplate = workspace:FindFirstChild("Baseplate")
            if baseplate then
                baseplate.CFrame = baseplate.CFrame * CFrame.Angles(math.rad(20), 0, math.rad(10))
                print("✅ Baseplate tilted!")
            else
                warn("❌ Baseplate not found!")
            end

        elseif btn.func == "skeleton" then
            print("💀 Skeleton Sky Activated!")
            -- (Your skeleton sky code here - shortened for compatibility)
            local images = {
                "http://www.roblox.com/asset/?id=169585459",
                "http://www.roblox.com/asset/?id=169585475",
                "http://www.roblox.com/asset/?id=169585485",
                "http://www.roblox.com/asset/?id=169585502",
                "http://www.roblox.com/asset/?id=169585515"
            }

            for _, s in pairs(game.Lighting:GetChildren()) do
                if s:IsA("Sky") then s:Destroy() end
            end

            local sky = Instance.new("Sky")
            sky.Parent = game.Lighting

            local Spooky = Instance.new("Sound")
            Spooky.SoundId = "rbxassetid://138081566"
            Spooky.Volume = 800
            Spooky.Looped = true
            Spooky.Parent = workspace
            Spooky:Play()

            spawn(function()
                local i = 1
                while sky.Parent do
                    local img = images[i] or images[1]
                    sky.SkyboxBk = img
                    sky.SkyboxDn = img
                    sky.SkyboxFt = img
                    sky.SkyboxLf = img
                    sky.SkyboxRt = img
                    sky.SkyboxUp = img
                    i = (i % #images) + 1
                    task.wait(0.2)
                end
            end)

            print("✅ Skeleton Sky running!")

        elseif btn.func == "burn" then
            print("🔥 Burn All Player Activated!")
            -- Simple version for better compatibility
            for _, plr in pairs(Players:GetPlayers()) do
                if plr ~= player and plr.Character then
                    for _, part in pairs(plr.Character:GetChildren()) do
                        if part:IsA("BasePart") then
                            local fire = Instance.new("Fire")
                            fire.Size = 7
                            fire.Heat = 12
                            fire.Color = Color3.fromRGB(255, 80, 0)
                            fire.SecondaryColor = Color3.fromRGB(255, 200, 0)
                            fire.Parent = part
                        end
                    end
                end
            end
            print("✅ Burn effect applied (simple version)")

        elseif btn.func == "remotes" then
            -- Your Fire All Remotes Script (slightly simplified for compatibility)
            print("⚡ Fire All Remotes Activated!")

            local function getRandomArgs()
                local args = {}
                for i = 1, math.random(1,4) do
                    local t = math.random(1,3)
                    if t == 1 then table.insert(args, math.random(-50,50))
                    elseif t == 2 then table.insert(args, "spam"..math.random(100,999))
                    else table.insert(args, player) end
                end
                return args
            end

            local count = 0
            for _, obj in pairs(game:GetDescendants()) do
                if obj:IsA("RemoteEvent") or obj:IsA("RemoteFunction") then
                    task.spawn(function()
                        pcall(function()
                            if obj:IsA("RemoteEvent") then
                                obj:FireServer(unpack(getRandomArgs()))
                            else
                                obj:InvokeServer(unpack(getRandomArgs()))
                            end
                            count = count + 1
                        end)
                    end)
                end
            end

            print("✅ Attempted to fire " .. count .. " remotes")
            print("Press F to toggle spam mode")
        end
    end)
end

print("✅ 1hatgui loaded successfully!")
print("Made more compatible for any executor.")

Features & Information

my first gui script
#exploit#gui#script#roblox

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts