If I may, the current weapon system has some maintainability issues. Code-wise at least. This battle test has 5 weapons total: The sword, the knife, the twigs, the wooden sticks, raw bones and technically bare handed too, so kind of 6. Each of these weapons are checked individually in 25 different places throughout the script, and each additional weapon actually adds more checks. If you add a new weapon, and forget any of these places, it'll create a bug that might be rare, and hard to track down.
I'd be willing to lend a hand in refactoring the code to be more maintainable if you'd like? The idea would be to condense the number of checks by abstracting them, so instead of checking each weapon individually, it checks a list of weapons instead. You can message me on discord at 'rachel02048' to talk further if you want.