I've been using module scripts for Server Scripts to Module Script communication, but I've ever used Module Scripts for local scripts. I've been finding it super frustrating to trial and error my local script inside a tool to achieve an event using the various functions such as Tool.Activated etc. But can I use what happens inside these local scripts and convert them into a module script, and if possible how could I achieve this?
Module Scripts are made to start when they have what they require such as a function being run or anything similar (Or just return a value). With guns, you can make a function triggering reload when the ammo is 0 or something like that since it is required to have 0 ammo to trigger it.
If anyone would like to correct me or add something onto this comment feel free to do so.