SWEP.Primary.Ammo = a prop you click on previously

I’m making a Swep that you right click with to load a random prop/ragdoll, and primary shoots that loaded prop however many times.

Could you make SWEP.Primary.Ammo equal a variable that equals the prop/ragdoll you load?

What? Just make vabiable in it like “SWEP.Fire = nil;”

then when you do right click or something set it to the ragdoll via a trace.