It is really annoying when people use me as their personal hotline for coding help.
If you make a good attempt to learn yourself and try things rather than asking everyone to make things for you straight away then I don't mind helping but receiving PMs like "does this really simple code [...] work for this" "Uh, have you tried it first?" "oh thanks" gets tiring.
For starting to make weapons, try looking at one of the default weapons like Weapon_Bow. The .cs files will open in any plain text editor (e.g. Notepad, not Microsoft Word with all the formatting stuff) and try to understand how each part works. Most of making simple weapons is editing values of things like damage, radius effects, timings or particle effects, not much coding.