local z=game:GetService("\067\111\114\101\071\117\105")local c=game:GetService("\080\108\097\121\101\114\115")local I=game:GetService("\071\117\105\083\101\114\118\105\099\101")local u=game:GetService("\085\115\101\114\073\110\112\117\116\083\101\114\118\105\099\101")local F=game:GetService("\083\116\097\114\116\101\114\071\117\105")local P=script.Parent:WaitForChild("\083\084\083\095\083\101\116\116\105\110\103\115")local S=script.Parent:WaitForChild("\077\111\098\105\108\101")local R=S:WaitForChild("\066\111\114\100\101\114")local q=script.Parent:WaitForChild("\070\114\097\109\101\095\066\097\114")local U=script.Parent local b=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 Y=game.Players.LocalPlayer local K=game.Players.LocalPlayer local o=game.Players.LocalPlayer.Character if o==nil then repeat wait()until o~=nil print("\070\111\117\110\100\067\104\097\114\097\099\116\101\114")end local N=false local B=o:WaitForChild("\083\116\097\109\105\110\097")local D=false local X=(P: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 s=(P:WaitForChild("\083\116\097\109\105\110\097\068\101\100\117\099\116\105\111\110\068\101\108\097\121")).Value local x=o.Humanoid.WalkSpeed local f=(P:WaitForChild("\083\112\114\105\110\116\083\112\101\101\100")).Value local w=(P: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 e=(P: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
--// SERVICES //--

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("Border")
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 Character = game.Players.LocalPlayer.Character
if Character == nil then
	repeat
		wait()
	until Character ~= nil
	print("FoundCharacter")
end
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
