Hi everyone, I need help with a script.
I would like to destroy an object with a precise weapon, for example with an axe I can destroy wooden crates, while with a pickaxe I can destroy a rock.
If I'm holding an axe I can't break the rock and if I'm holding a pickaxe I can't destroy wooden crates.
I used the attached script but both weapons destroy the object anyway and I don't know how to do it.
Windows 10 64-bit, Intel Core i7-6700K, GTX 980TI Zotac AMP Extreme, 16 GB RAM
The author of this post has marked a post as an answer.
Go to answer