Simple as the title, are scripts in StartGUI ran even before its put into a PlayerGUI?
I am having a issue/an encounter where scripts in StarterGUI are running before being put into a player similar to ServerScriptService, I thought scripts in StarterGUI Dont do anything similar to ReplicatedStorage.
I tried recreating this with another ScreenGui and putting a script unedited print("Hello World") and only received one Hello World which is from my player being loaded.
I tried copying and pasting all of my stuff in the new ScreenGui and then encountered the same problem as before.
game.Loaded only works on LocalScripts (for the giggles I still tried it and didn’t get any print statements meaning it was stuck in a loop.)
I believe if this was the issue, it would only print the 3 things once as only one script would be loaded because the player didn’t respawn or anything, just the initial spawn, not sure if I explained that correctly.
It happens when your Script has its RunContext set to Server, to fix it just switch it to Legacy. However you should not place any server scripts into StarterGui (unless they check if their parent is the player?).