Hello i’ve been watching some tutorials and sometimes the person will put their script in the starter Gui even tho they arent making a Gui. why’s that?
What do you mean? Like putting a raw script in there or in a frame?
They just put a raw script in there. Idk why
It just depends on what your working on. Sometimes you need a script in a different spot to work another different script.
People commonly placed their LocalScripts in StarterGui.
Edit: You should check out this answer from ScriptingHelpers. It explains where LocalScripts can run and where you might want to put a LocalScript depending on your situation.
There is no particular reason to do this, but as D3V_Pop said, it’s typically for inheritance.
It should be noted that scripts in StarterGui only replicate when the character loads, so they are similar to StarterCharacterScripts, except that they don’t run each time the character is created, only the first time.