I get this error for the golden gun shared.lua
"[weapons\weapon_ttt_goldengun\shared.lua:113] attempt to call method 'Kill' (a nil value)"
Here's that part of the code:
		if tr.Entity:IsRole(ROLE_INNOCENT) or tr.Entity:IsRole(ROLE_DETECTIVE) then
			self.Owner:Kill()
			self.Weapon:EmitSound(Sound( "Weapon_Deagle.Single"  ))
			self:TakePrimaryAmmo(1)
				end
				end
				
					self.Weapon:SendWeaponAnim(ACT_VM_PRIMARYATTACK)
					self:TakePrimaryAmmo(1)
					self.Owner:EmitSound(Sound( "Weapon_Deagle.Single"  ))
				
end
Help would be much appreciated, thanks in advance guys :)