I made a kind of sticky launcher / grenade launcher so when it hits a person they get hurt and dies but then the killer is #mine (im in gmod 13) but in my SWEP I use this code:
local ent = ents.Create("mine")
ent:SetOwner(self.Owner)
ent:Spawn()
Please help me :)