what are the best scripts for weapons and first person controller

could someone please tell me the scripts and how they work?

Try the FPS Tutorial: download the 3 PDF instruction files and the FPS_Tutorial_Completed.zip - this is a complete and ready to run FPS tutorial, where you can find lots of useful tricks.