What do you think for that?

--[[
    GameServices
    ==============================================================================================
]]-- GameServices
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerScriptService = game:GetService("ServerScriptService")

--[[
    Const
    ==============================================================================================
]]-- Const

--[[
    Server
    ==============================================================================================
]]-- Server
local ServerPath = ServerScriptService.Server
local ServerConfigs = ServerPath.Configs
local ServerScripts = ServerPath.Scripts
local ServerComponents = ServerPath.Components

--[[
    Shared
    ==============================================================================================
]]-- Shared
local SharedPath = ReplicatedStorage.Shared
local SharedConfigs = SharedPath.Configs
local SharedScripts = SharedPath.Scripts
local SharedComponents = SharedPath.Components

--[[
    Private
    ==============================================================================================
]]-- Private

--[[
    Public
    ==============================================================================================
]]-- Public

i saw such a template for the codes on the server in a few places, what do you think?

Hey there!

This setup looks really clean and well-organized. I love how you’ve structured everything into clear sections like Server, Shared, and Const. It makes it super easy to navigate and maintain.

1 Like

The only problem is it seems a little long

1 Like

Looks clean so far, but it’s a little too noisy to look at .
I’d suggest you to just use a single comment to highlight a specific section.

--// Services
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerScriptService = game:GetService("ServerScriptService")

--// Constants
local CONSTANT_VARIABLE = "ConstantVariable"
local ANOTHER_CONSTANT_VARIABLE = "AnotherConstantVariable"

--// Server
local ServerPath = ServerScriptService.Server
local ServerConfigs = ServerPath.Configs
local ServerScripts = ServerPath.Scripts
local ServerComponents = ServerPath.Components

--// Shared
local SharedPath = ReplicatedStorage.Shared
local SharedConfigs = SharedPath.Configs
local SharedScripts = SharedPath.Scripts
local SharedComponents = SharedPath.Components

--// so on, and so forth.
2 Likes