i've made a really basic gun that is compatible with FE. i want to make more. is it really the most ideal place to have multiple RemoteEvents in the ReplicatedStorage just for multiple guns? to me it just seems unorganized. also are the ServerScripts limited to only serverscriptservice? in all of the tutorials i've seen for FE, they've all had them in the same spot.
✓ ANSWER ACCEPTED
where is the most ideal place to put remoteEvents and ServerScripts for OnServerEvents?
1 answer
✓ Accepted answer
You can put server scripts anywhere and the client can't see their content. ServerScriptService is for organization. Same for RemoteEvents; general-purpose events should go in ReplicatedStorage but for tools like your gun most people put the event right near the handle. Be free :)
1 comment
0
alright thanks, so im able to put both the script AND the event right in the tool?
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Server Scripts are not limited to SSS, but it is best to put them there so people cannot steal your code (the client can't see things like ServerScriptService or ServerStorage). As for remote events, there isn't really a better way to store them or a better place to put them. You can kick them in a folder in Replicated Storage, but it's all the same.
can keep them***
alright, thanks! just wanted to make sure it couldn't get more organized.
ServerScripts can't be copied, bytecode from the server doesn't replicate to the client @gioni01