ISSUE RESOLVED, thanks to the console command “lastinv”.
You’ve got a katana in your hand. A Hunter is several meters away with its back turned. You aim, hold “E”, and right click. Your thrown sword nails the Hunter in the back, and to finish it off, you proceed to whip out your… tool gun?
Basically, my issue is that using player.StripWeapon on a currently selected weapon causes the player to switch to the toolgun if they have it, regardless of what weapon they were carrying before switching to the soon-to-be-stripped weapon. If anyone has a fix for this, could they please share it? Thanks!