Physgun pickup

Hi im thinking about making a Tranq gun as a bit of a first SWEP and i was wondering that when they get shot with the tranq dart they will turn into a ragdoll until the player presses right click. Once they were ragdolled i would like only the player that shot the bullet able to pick the person up while there tranqed. Anyone know how to do this?

Mm. You should check punisher swep how it handles ragdolling. For physgun part set owner of ragdoll to self.Owner in swep (check your prop protection how to do this, DONT use ent:SetOwner(), then player wont be able to interact with prop/ragdoll/entity)