local Plugin = { ["PluginName"] = "Godmode by skiddyAI", ["PluginDescription"] = "a very good godmode human made 100%", ["Commands"] = { ["god mode"] = { ["ListName"] = "god / gm", ["Description"] = "makes you a god", ["Aliases"] = {"god", "gm", "godmode"}, ["Function"] = function(args, speaker) -- Roblox Godmode Script v4: EXTRA UNKILLABLE Edition -- True godmode by deleting old Humanoid (replicates to server) -- Extra layers: Disable Dead state, HealthChanged protection, auto-revive on low HP -- All clothes, shirts, pants, layered clothing, hats, accessories, and body parts 100% preserved -- No deletions of anything added in previous versions — only improvements for unkillability + smoothness -- Zero floor sticking fixes kept and enhanced local Players = game:GetService("Players") local player = Players.LocalPlayer -- Function to apply extra godmode local function applyGodmode(character) if not character then return end -- Extra delay for full character load (prevents any loading glitches) task.wait(1.0) -- Step 1: Delete the old Humanoid (core true godmode - most anti-cheat/kill scripts target the original) local oldHumanoid = character:FindFirstChildOfClass("Humanoid") if oldHumanoid then oldHumanoid:Destroy() end -- Step 2: Create brand new Humanoid local newHumanoid = Instance.new("Humanoid") newHumanoid.Parent = character -- Core godmode + movement settings newHumanoid.MaxHealth = math.huge newHumanoid.Health = math.huge newHumanoid.WalkSpeed = 50 newHumanoid.JumpPower = 50 newHumanoid.AutoRotate = true newHumanoid.HipHeight = 2.0 -- ANTI-STICK & MOVEMENT FIXES (kept from previous versions) newHumanoid.PlatformStand = false newHumanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding, false) local root = character:FindFirstChild("HumanoidRootPart") if root then root.Anchored = false root.CFrame = root.CFrame + Vector3.new(0, 0.5, 0) end task.delay(0.2, function() if newHumanoid and newHumanoid.Parent then newHumanoid:ChangeState(Enum.HumanoidStateType.Running) end end) -- EXTRA UNKILLABLE LAYERS: -- 1. Completely disable the Dead state so you never enter death newHumanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false) -- 2. HealthChanged protection: If health ever drops low, instantly reset to max newHumanoid.HealthChanged:Connect(function(health) if health < newHumanoid.MaxHealth * 0.9 then -- buffer before 0 newHumanoid.Health = newHumanoid.MaxHealth -- Force back to running state newHumanoid:ChangeState(Enum.HumanoidStateType.Running) end end) -- 3. Extra safety: Monitor for any death attempt and revive instantly local diedConnection diedConnection = newHumanoid.Died:Connect(function() diedConnection:Disconnect() task.wait(0.1) if newHumanoid and newHumanoid.Parent then newHumanoid.Health = newHumanoid.MaxHealth newHumanoid:ChangeState(Enum.HumanoidStateType.Running) end end) -- Your clothes & appearance stay perfectly intact -- We only ever touch the Humanoid instance — nothing else in the character is deleted or modified print("✅ Godmode v4 EXTRA UNKILLABLE activated! Multiple anti-death layers added. Smooth movement, no sticking, all clothes & accessories preserved.") end -- ==================== MOVABLE GUI ADDED BELOW ==================== local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "InfiniteYieldGodmodeFixed" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = player:WaitForChild("PlayerGui") local Frame = Instance.new("Frame") Frame.Name = "MainFrame" Frame.Size = UDim2.new(0, 200, 0, 90) Frame.Position = UDim2.new(0.5, -100, 0.1, 0) Frame.BackgroundColor3 = Color3.fromRGB(25, 25, 25) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true -- Makes the GUI movable Frame.Parent = ScreenGui local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 30) Title.BackgroundColor3 = Color3.fromRGB(15, 15, 15) Title.Text = "Infinite Yield Godmode Fixed" Title.TextColor3 = Color3.fromRGB(0, 255, 100) Title.Font = Enum.Font.GothamBold Title.TextSize = 15 Title.Parent = Frame local StatusLabel = Instance.new("TextLabel") StatusLabel.Size = UDim2.new(1, 0, 0, 25) StatusLabel.Position = UDim2.new(0, 0, 0, 30) StatusLabel.BackgroundTransparency = 1 StatusLabel.Text = "Status: OFF" StatusLabel.TextColor3 = Color3.fromRGB(255, 80, 80) StatusLabel.Font = Enum.Font.Gotham StatusLabel.TextSize = 14 StatusLabel.Parent = Frame local ToggleButton = Instance.new("TextButton") ToggleButton.Size = UDim2.new(1, 0, 0, 35) ToggleButton.Position = UDim2.new(0, 0, 0, 55) ToggleButton.BackgroundColor3 = Color3.fromRGB(40, 40, 40) ToggleButton.Text = "TURN ON" ToggleButton.TextColor3 = Color3.fromRGB(255, 255, 255) ToggleButton.Font = Enum.Font.GothamBold ToggleButton.TextSize = 14 ToggleButton.Parent = Frame -- Godmode control variables local godmodeEnabled = false local currentConnection = nil local function toggleGodmode() godmodeEnabled = not godmodeEnabled if godmodeEnabled then StatusLabel.Text = "Status: ON" StatusLabel.TextColor3 = Color3.fromRGB(0, 255, 100) ToggleButton.Text = "TURN OFF" print("Infinite Yield Godmode Fixed - Turned ON") -- Apply godmode immediately when turned ON if player.Character then applyGodmode(player.Character) end -- Re-apply automatically on respawn when ON if currentConnection then currentConnection:Disconnect() end currentConnection = player.CharacterAdded:Connect(function(newCharacter) task.wait(1.0) if godmodeEnabled then applyGodmode(newCharacter) end end) else StatusLabel.Text = "Status: OFF" StatusLabel.TextColor3 = Color3.fromRGB(255, 80, 80) ToggleButton.Text = "TURN ON" print("Infinite Yield Godmode Fixed - Turned OFF") if currentConnection then currentConnection:Disconnect() currentConnection = nil end end end ToggleButton.MouseButton1Click:Connect(toggleGodmode) -- Make GUI movable and nice looking Frame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 then Frame.Active = true end end) print("✅ Infinite Yield Godmode Fixed GUI loaded! Drag the window. Click TURN ON to activate godmode.") end } } } return Plugin