There are 2 issues with the code:
- In the last if statement, toolEquipped is an instance and not a string. Make it toolEquipped.Name for it to work.
- Your character for loop only checks for parts, not tools. (Basically, it’s a scoping issue. bring the 3rd if check out of the 2nd one to fix it)