Roblox Pipeline Flowchart

I am a bit confused in the order of events of when services and scripts, etc are launched in the Roblox Platform both in the Studio and in the launcher.

Can someone provide two flowcharts of the Roblox Pipeline since I couldn’t find anything related to what I am looking for? Basically one flowchart for launching sequence in the Roblox Studio, and another for the in-game launcher. I can’t really supply every component on the top of my head, but what I mean is basically for example:

  • ServerScriptService Scripts are ran
  • StarterGui guis are copied into the player
  • PlayerGuis are loaded
  • PlayerAdded Events are called
  • CharacterAdded Events are called.
  • ReplicatedStorage and other services are ran
  • CoreGui scripts are loaded and copied in.
  • Use arrows for what happens on player respawn

Obviously we can’t account for every event inside a script or a localscript because some scripts have multiple extensive events or functions that require lots of run-time. but a bunch general launch scripts and creating/loading of services and just the 2 events CharacterAdded and PlayerAdded will do.

Some forms of reasoning?:
The purpose of a general flowchart of the pipeline is to provide an understanding on the order of events so that I can better plan which scripts/localscripts will need to be reliant on certain events as well as with respect to which objects will load in first whether its the Workspace parts, workspace meshes, ReplicatedStorage, etc. With varying order of launch events, it could get tedious, confusing, and overall messy to simply constantly incorporate many WaitForChild primitives. Plus there are instances for example, if I wanted a loading screen. I would want to hide my place for everything such as the parts in the Workspace to load beforehand. But if GUI loads after, then I would have to figure out how to access ReplicatedFirst data in realtime, and etc.

1 Like