God Mode Script
Key RequiredUniversal

God Mode Script

Universal ScriptHilosHAXHilosHAX 27.8K views 3.1K executesUpdated Apr 27, 2025
2.0/ 5(5 votes)
2340% Positive
Lua Script•95 lines (3140 chars)
local Players = game:GetService("Players")
local TweenService = game:GetService("TweenService")
local LocalPlayer = Players.LocalPlayer
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local GodmodeEnabled = false

local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "GodmodeGUI"
ScreenGui.Parent = game.CoreGui

local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 0, 0, 0)
Frame.Position = UDim2.new(0.5, 0, 0.1, 0)
Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Frame.BorderSizePixel = 0
Frame.BackgroundTransparency = 0.2
Frame.Parent = ScreenGui
Frame.AnchorPoint = Vector2.new(0.5, 0)
Frame.Active = true
Frame.Draggable = true

local UICorner = Instance.new("UICorner")
UICorner.CornerRadius = UDim.new(0, 12)
UICorner.Parent = Frame

local Button = Instance.new("TextButton")
Button.Size = UDim2.new(0, 180, 0, 40)
Button.Position = UDim2.new(0, 10, 0, 10)
Button.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
Button.BorderSizePixel = 0
Button.Text = "Enable Godmode"
Button.Font = Enum.Font.GothamBold
Button.TextColor3 = Color3.fromRGB(255, 255, 255)
Button.TextSize = 16
Button.Parent = Frame

local ButtonUICorner = Instance.new("UICorner")
ButtonUICorner.CornerRadius = UDim.new(0, 8)
ButtonUICorner.Parent = Button

local Credit = Instance.new("TextLabel")
Credit.Size = UDim2.new(0, 180, 0, 20)
Credit.Position = UDim2.new(0, 10, 0, 60)
Credit.BackgroundTransparency = 1
Credit.Text = "--Made By HilosHAX--"
Credit.Font = Enum.Font.GothamSemibold
Credit.TextColor3 = Color3.fromRGB(150, 150, 150)
Credit.TextSize = 14
Credit.Parent = Frame

TweenService:Create(Frame, TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {Size = UDim2.new(0, 200, 0, 100)}):Play()

local GlowTween = TweenService:Create(Button, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut, -1, true), {BackgroundColor3 = Color3.fromRGB(70, 70, 70)})
GlowTween:Play()

function setupGodmode()
    for _, part in pairs(workspace:GetDescendants()) do
        if part:IsA("BasePart") then
            if string.find(part.Name:lower(), "kill") or string.find(part.Name:lower(), "lava") or part.Material == Enum.Material.Neon then
                part.CanTouch = false
                part.CanCollide = false
                part.Transparency = 0.5
            end
        end
    end
end

function revertGodmode()
    for _, part in pairs(workspace:GetDescendants()) do
        if part:IsA("BasePart") then
            if string.find(part.Name:lower(), "kill") or string.find(part.Name:lower(), "lava") or part.Material == Enum.Material.Neon then
                part.CanTouch = true
                part.CanCollide = true
                part.Transparency = 0
            end
        end
    end
end

Button.MouseButton1Click:Connect(function()
    GodmodeEnabled = not GodmodeEnabled
    if GodmodeEnabled then
        setupGodmode()
        Button.Text = "Disable Godmode"
    else
        revertGodmode()
        Button.Text = "Enable Godmode"
    end
end)

LocalPlayer.CharacterAdded:Connect(function(char)
    if ScreenGui then
        ScreenGui:Destroy()
    end
end)

Features & Information

This script makes it so kill bricks cant kill you. This script is NOT used for games that have no kill bricks.

Community Comments (21)

AnimationguyAnimationguyDec 31, 2025

Yo fix this ah script

Replying to @Animationguy
HilosHAXHilosHAXJan 2, 2026

@sharmailucious798 Tell me what to fix.

HilosHAXHilosHAXJan 2, 2026

@sharmailucious798 if you are are on mobile it wont work.

Newbie841120Newbie841120Jan 15, 2026

its not working at garden tower defense, can you make a script godmode for that? Thank you in advance

Replying to @Newbie841120
HilosHAXHilosHAXJan 16, 2026

@Newbie841120 It's not really for tower defense games mostly for towers or obbies.

Replying to @HilosHAX
Newbie841120Newbie841120Jan 17, 2026

@HilosHAX can you create one for garden tower defense? please I really just need it. Thank you in advance.

Replying to @HilosHAX
Newbie841120Newbie841120Jan 18, 2026

@HilosHAX can you create one for garden tower defense if possible? I really need it cause i keep dying on survival

Replying to @Newbie841120
HilosHAXHilosHAXJan 18, 2026

@Newbie841120 Ill try!

Replying to @HilosHAX
Newbie841120Newbie841120Jan 20, 2026

@HilosHAX Thank you man. Take your time message me when its done.

Replying to @Newbie841120
HilosHAXHilosHAXJun 18, 2026

@Newbie841120 Hey man I couldn't make a script for garden tower defense. Sorry that I took too long to reply to your comment

NsjsjajjsNsjsjajjsJan 17, 2026

.

NsjsjajjsNsjsjajjsJan 17, 2026

Wait can you fix it to work against pvp

Replying to @Nsjsjajjs
HilosHAXHilosHAXJan 17, 2026

@Nsjsjajjs I could make one for pvp but im really busy today.

juiceman1207juiceman1207Jan 25, 2026

can you pls make one for aba like fr pls

flldaflldaFeb 22, 2026

can u fix the script? its not working try to make the player go underground by 10-25 studs

Replying to @fllda
HilosHAXHilosHAXFeb 25, 2026

@fllda If It's doing that problem then the game has an anti cheat. I recommend going on a different game.

wjj1jscwjj1jscApr 22, 2026

it doest work for pc and da hood

Replying to @wjj1jsc
HilosHAXHilosHAXApr 22, 2026

@wjj1jsc It works for PC and Mobile. To fix it not executing you must rejoin the game and its intended to bypass killbricks not for games like da hood

ScxptDevScxptDevJun 17, 2026

tried it in zombie rush, don't work. Someone needs to make scripts for that OG game

Replying to @ScxptDev
HilosHAXHilosHAXJun 18, 2026

@ScxptDev This script is used for obbies that have killbricks.

GOOGLEEXPLOITSGOOGLEEXPLOITSSep 4, 2026

Hello again.

More Scripts for Universal Scripts