Arena shooter style weapon inventory

I am making a local multiplayer fps and I’m aiming towards an arena shooter style of gameplay. How would I go about making a weapon inventory like quake and unreal tournament where you can hold more than 2 weapons at a time and switch between them at any time if the player has picked them up

When you pick them up, you could assign the weapon to a free number key, then when the player presses a number key, you unparent the current weapon, move it far away, then parent the new weapon and move it to the previous gun’s location