UserInputService.InputBegan:Connect(function(t)if t.KeyCode==Enum.KeyCode.LeftShift or t.KeyCode==Enum.KeyCode.RightShift or t.KeyCode==Enum.KeyCode.ButtonL2 then updateWalkSpeed()end end)UserInputService.InputEnded:Connect(function(t)if t.KeyCode==Enum.KeyCode.LeftShift or t.KeyCode==Enum.KeyCode.RightShift or t.KeyCode==Enum.KeyCode.ButtonL2 then updateWalkSpeed()end end)

UserInputService.InputBegan:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift or input.KeyCode == Enum.KeyCode.ButtonL2 then
		updateWalkSpeed()
	end
end)

UserInputService.InputEnded:Connect(function(input)
	if input.KeyCode == Enum.KeyCode.LeftShift or input.KeyCode == Enum.KeyCode.RightShift or input.KeyCode == Enum.KeyCode.ButtonL2 then
		updateWalkSpeed()
	end
end)
