local function T()if UserInputService.TouchEnabled then local T=(game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\083\112\114\105\110\116\066\117\116\116\111\110")return T:IsPressed()elseif UserInputService.GamepadEnabled then return UserInputService:IsGamepadButtonDown(Enum.UserInputType.Gamepad1,Enum.KeyCode.ButtonL2)else return UserInputService:IsKeyDown(Enum.KeyCode.LeftShift)or UserInputService:IsKeyDown(Enum.KeyCode.RightShift)end end

local function checkSprintKeyDown()
	if UserInputService.TouchEnabled then
		local sprintButton = game:GetService("ReplicatedStorage"):WaitForChild("SprintButton")
		return sprintButton:IsPressed()
	elseif UserInputService.GamepadEnabled then
		return UserInputService:IsGamepadButtonDown(Enum.UserInputType.Gamepad1, Enum.KeyCode.ButtonL2)
	else
		return UserInputService:IsKeyDown(Enum.KeyCode.LeftShift) or UserInputService:IsKeyDown(Enum.KeyCode.RightShift)
	end
end
