swep sprint holster?

I’ve seen this done before plenty of times in Gmod. Anyone have any idea how i make it so that when i sprint, the player’s weapon is sideways at the bottom of the screen (holstered).

thanks.

CalcView and LocalPlayer():KeyDown(IN_SPEED)