local N=game:GetService("\067\111\114\101\071\117\105")local T=game:GetService("\080\108\097\121\101\114\115")local g=game:GetService("\071\117\105\083\101\114\118\105\099\101")local r=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local s=game:GetService("\083\116\097\114\116\101\114\071\117\105")local J=script.Parent:WaitForChild("\083\084\083\095\083\101\116\116\105\110\103\115")local d=script.Parent:WaitForChild("\077\111\098\105\108\101")local R=d:WaitForChild("\085\073\083\116\114\111\107\101")local M=script.Parent:WaitForChild("\070\114\097\109\101\095\066\097\114")local Q=script.Parent local t=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local c=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")local h=game.Players.LocalPlayer local e=game.Players.LocalPlayer local P=J.SprintingValue local G=game.Players.LocalPlayer.Character if G==nil then repeat wait()until G~=nil print("\070\111\117\110\100\067\104\097\114\097\099\116\101\114")end local m=script.IsWalking local O=script.Breath local E=(game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")):Create(O,TweenInfo.new(2),{Volume=.3})O:Play()local a=(game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")):Create(O,TweenInfo.new(2),{Volume=0})local z=false local v=G:WaitForChild("\083\116\097\109\105\110\097")local o=false local j=(J:WaitForChild("\083\116\097\109\105\110\097\068\101\100\117\099\116\105\111\110\065\109\111\117\110\116")).Value local W=(J:WaitForChild("\083\116\097\109\105\110\097\068\101\100\117\099\116\105\111\110\068\101\108\097\121")).Value local n=G.Humanoid.WalkSpeed local x=(J:WaitForChild("\083\112\114\105\110\116\083\112\101\101\100")).Value local F=(J:WaitForChild("\083\116\097\109\105\110\097\082\101\103\101\110\101\114\097\116\105\111\110\068\101\108\097\121")).Value local D=(J:WaitForChild("\083\116\097\109\105\110\097\082\101\103\101\110\101\114\097\116\105\111\110\065\109\111\117\110\116")).Value


local CoreGuiService = game:GetService('CoreGui')
local PlayersService = game:GetService('Players')
local GuiService = game:GetService('GuiService')
local UserInputService = game:GetService('UserInputService')
local StarterGui = game:GetService('StarterGui')
local STS_Settings = script.Parent:WaitForChild('STS_Settings')
local StaminaButton = script.Parent:WaitForChild('Mobile')
local Border = StaminaButton:WaitForChild('UIStroke')
local Bar = script.Parent:WaitForChild('Frame_Bar')
local SprintGui = script.Parent
local UIS = game:GetService("UserInputService")
local TS = game:GetService("TweenService")
local plr = game.Players.LocalPlayer
local player = game.Players.LocalPlayer

local SprintingValue = STS_Settings.SprintingValue

local Character = game.Players.LocalPlayer.Character
if Character == nil then
	repeat
		wait()
	until (Character ~= nil)
	print('FoundCharacter')
end



local walking = script.IsWalking

local Breath = script.Breath

local BreathRunning = game:GetService("TweenService"):Create(Breath, TweenInfo.new(2), {Volume = 0.3})
Breath:Play()

local BreathRunningStop = game:GetService("TweenService"):Create(Breath, TweenInfo.new(2), {Volume = 0})

local Debounce = false
local Stamina = Character:WaitForChild('Stamina')
local Sprinting = false
local StaminaReductionRate = STS_Settings:WaitForChild('StaminaDeductionAmount').Value -- Amount taken from Stamina per SprintReductionDelay
local StaminaReductionDelay = STS_Settings:WaitForChild('StaminaDeductionDelay').Value -- Time in Seconds for SprintReductionRate to be removed from stamina
local OriginalWalkSpeed = Character.Humanoid.WalkSpeed -- Get Original WalkSpeed
local SprintSpeed = STS_Settings:WaitForChild('SprintSpeed').Value
local RegenerateDelay = STS_Settings:WaitForChild('StaminaRegenerationDelay').Value
local RegenerateValue = STS_Settings:WaitForChild('StaminaRegenerationAmount').Value
