-- normal inf stamina for skids what do shit with delete m_h local UserInputService = cloneref(game:GetService("UserInputService")) local Players = cloneref(game:GetService("Players")) local staminaEnabled = false local originalTakeStamina = nil local staminaModule = nil local gui = Instance.new("ScreenGui") gui.Name = "StaminaToggle" gui.ResetOnSpawn = false gui.Parent = Players.LocalPlayer:WaitForChild("PlayerGui") local button = Instance.new("TextButton") button.Size = UDim2.new(0, 120, 0, 50) button.Position = UDim2.new(0, 10, 0.8, 0) button.BackgroundColor3 = Color3.fromRGB(255, 0, 0) button.Text = "Infinite Stamina: OFF" button.TextColor3 = Color3.fromRGB(255, 255, 255) button.Font = Enum.Font.GothamBold button.TextSize = 14 button.Parent = gui local function findStaminaModule() for _, module in ipairs(getloadedmodules()) do if module.Name == "M_H" then return require(module) end end return nil end local function updateButton() button.BackgroundColor3 = staminaEnabled and Color3.fromRGB(0, 255, 0) or Color3.fromRGB(255, 0, 0) button.Text = "Infinite Stamina: " .. (staminaEnabled and "ON" or "OFF") end local function enableInfiniteStamina() staminaModule = findStaminaModule() if not staminaModule then return end originalTakeStamina = staminaModule.TakeStamina staminaModule.TakeStamina = newcclosure(function(self, amount, ...) if amount > 0 then return originalTakeStamina(self, -amount, ...) end return originalTakeStamina(self, amount, ...) end) updateButton() end local function disableInfiniteStamina() if staminaModule and originalTakeStamina then staminaModule.TakeStamina = originalTakeStamina updateButton() end end button.MouseButton1Click:Connect(function() staminaEnabled = not staminaEnabled if staminaEnabled then enableInfiniteStamina() else disableInfiniteStamina() end end) UserInputService.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.X then staminaEnabled = not staminaEnabled if staminaEnabled then enableInfiniteStamina() else disableInfiniteStamina() end end end) local function onCharacterAdded() if staminaEnabled then task.wait(1) enableInfiniteStamina() end end Players.LocalPlayer.CharacterAdded:Connect(onCharacterAdded) if Players.LocalPlayer.Character then onCharacterAdded() end