I always use StarterGui.
Whats the best place to store local scripts?
2 answers
The main containers that should be used for different scripts are:
ServerScriptServiceReplicatedStorageStarterPlayer > StarterCharacter | StarterPlayerScripts
In the case of Local Scripts I usually store them in StarterCharacter / StarterPlayerScripts
- The StarterPlayerScripts runs the local script once for each player.
- The StarterCharacter each adds the local script to each player's character every time they spawn.
When we go more specific, let's say we are going to make our game Filtering Enabled I start using:
ServerScriptService :Server-sided & Can only be seen by the server.ReplicatedStorage :Client-sided & Server-sided, can be seen by both and replicates to both.
Take care that most of the people have obnoxious way of placing their scripts / remotes, this is just my way of doing things.
When we are talking about GUI-wise work, I usually store the scripts on StarterGui most of the times, so they get replicated along the GUI I make.
I use ServerScripts
2 comments
I thought that was only used for server side scripts, not local?
You can only use that for server scripts and server-referenced modules.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Thanks!
No problem.