-- dogs by AZOT | place 94009908234110 -- Stamina: patches the Sprint module Config once. No per-frame value writes. -- Toggle: LEFT SHIFT local UIS = game:GetService("UserInputService") local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local LP = Players.LocalPlayer local MAX = 1e7 local SPEED = 26 local ON = true local patched = false local base = 16 local function findMod() for _, root in ipairs({ RS, LP.PlayerScripts }) do local m = root:FindFirstChild("Sprint", true) if not m then m = root:FindFirstChild("Sprinting", true) end if not m then for _, d in ipairs(root:GetDescendants()) do if d:IsA("ModuleScript") then local n = d.Name:lower() if n:find("sprint") or n:find("stamina") then m = d break end end end end if m and m:IsA("ModuleScript") then return m end end return nil end local function patch() if patched then return true end local m = findMod() if not m then return false end local ok, mod = pcall(require, m) if not ok or type(mod) ~= "table" then return false end pcall(function() mod.Config = mod.Config or {} local c = mod.Config c.Max = MAX c.Drain = 0 c.Regen = MAX c.RegenDelay = 0 c.RecoverTo = 1 c.JumpCost = 0 local old = mod._step if type(old) == "function" then mod._step = function(self, dt) if self.Config then self._stamina = self.Config.Max self._spent = false end return old(self, dt) end end end) patched = true return true end local gui = Instance.new("ScreenGui") gui.Name = "dogsCheats" gui.ResetOnSpawn = false gui.Parent = LP:WaitForChild("PlayerGui") local label = Instance.new("TextLabel") label.Size = UDim2.new(0, 250, 0, 40) label.Position = UDim2.new(0.5, -125, 0, 12) label.BackgroundColor3 = Color3.new(0.07, 0.07, 0.07) label.BackgroundTransparency = 0.35 label.Font = Enum.Font.GothamBold label.TextSize = 14 label.TextWrapped = true label.Parent = gui local function refresh() if ON then label.Text = "STAMINA LOCK: ON\nShift = off" label.TextColor3 = Color3.fromRGB(0, 255, 120) else label.Text = "STAMINA LOCK: OFF\nShift = on" label.TextColor3 = Color3.fromRGB(255, 70, 70) end end refresh() UIS.InputBegan:Connect(function(i, gp) if gp then return end if i.KeyCode ~= Enum.KeyCode.LeftShift then return end ON = not ON refresh() local h = LP.Character and LP.Character:FindFirstChildOfClass("Humanoid") if h and not ON then h.WalkSpeed = base end end) LP.CharacterAdded:Connect(function(ch) local h = ch:WaitForChild("Humanoid", 5) if h then base = h.WalkSpeed end end) task.spawn(function() while true do task.wait(0.25) local ch = LP.Character local h = ch and ch:FindFirstChildOfClass("Humanoid") if h then if ON then if not patched then patch() end if h.WalkSpeed ~= SPEED then h.WalkSpeed = SPEED end if not patched then for _, o in ipairs(ch:GetDescendants()) do if o:IsA("NumberValue") or o:IsA("IntValue") then if o.Name:lower():find("stamina") then o.Value = MAX end end end end elseif h.WalkSpeed ~= base then h.WalkSpeed = base end end end end)