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)