
Key Required

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
local MAX_STAMINA = 100 -- i forgto wtf this do, dont touch
local staminaValue
local infStaminaConnection
local character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
local success, gameParameters = pcall(function()
return require(ReplicatedStorage:WaitForChild("TS"):WaitForChild("modules"):WaitForChild("gameParameters"))
end)
local InfStaminaEnabled = success and gameParameters.InfStaminaEnabled or nil
local function findStamina(char)
staminaValue = nil
if LocalPlayer:FindFirstChild("Stamina") and LocalPlayer.Stamina:IsA("NumberValue") then
staminaValue = LocalPlayer.Stamina
elseif char:FindFirstChild("Stamina") and char.Stamina:IsA("NumberValue") then
staminaValue = char.Stamina
elseif char:GetAttribute("Stamina") ~= nil then
staminaValue = "attribute"
end
end
local function setInfiniteStamina()
if staminaValue then
if staminaValue == "attribute" then
character:SetAttribute("Stamina", MAX_STAMINA)
else
staminaValue.Value = MAX_STAMINA
end
end
end
findStamina(character)
if InfStaminaEnabled then
pcall(function()
InfStaminaEnabled:set(true)
end)
end
if staminaValue then
infStaminaConnection = RunService.Heartbeat:Connect(setInfiniteStamina)
if staminaValue == "attribute" then
character:GetAttributeChangedSignal("Stamina"):Connect(setInfiniteStamina)
else
staminaValue.Changed:Connect(setInfiniteStamina)
end
end
LocalPlayer.CharacterAdded:Connect(function(newCharacter)
character = newCharacter
findStamina(newCharacter)
if InfStaminaEnabled then
pcall(function()
InfStaminaEnabled:set(true)
end)
end
if staminaValue then
if infStaminaConnection then
infStaminaConnection:Disconnect()
end
infStaminaConnection = RunService.Heartbeat:Connect(setInfiniteStamina)
if staminaValue == "attribute" then
character:GetAttributeChangedSignal("Stamina"):Connect(setInfiniteStamina)
else
staminaValue.Changed:Connect(setInfiniteStamina)
end
end
end)



Dont mind script being *, still works dont cry abt it
this is dog water
This is just BEYOND dog shot
kill aura would be cool tho :D
nvm its act so OP.
@ZERETET its a freakingg infinite stamina and it works so sybau
@SpxzyCDOT couldve added a ui, lazy ahh
🤡
@SpxzyCDOT nice script 👍
How to use it???
yall ungrateful atleast you got something from this script
btw could you add a notification to show the script was executed?
не работает