hi, i would like to code a script for multiple weapons.
i want to make the weapons through dot product, and want each weapon to have different abilites. How would i make different code for multiple weapons in two scripts total (local and server) without it being too messy and so it would be easy for me to edit and add new features?
What your looking for really is the usage of OOP which stands for object orientated programming. Personally I am not an expert in OOP on Roblox but the basic concept is you create one object which has all the code in and just add metatables for separate features.