Hello! I’m Dragoneruby. So, I’ve started programming like a year ago, and I’ve never could’ve found a satisfying scripting setup design. I think that it really helps you learn new things and code if you’re satisfied with your setup design and it doesn’t hurt your eyes. Could you show some of yours, so I can get some inspiration, if that’s okay?
For functions, I like to have local functions, so I can call them when it’s needed, and it looks much more optimized than a :Connect(function() event. Also, you can return values.
For example,
local function getCoolCharacteristic()
return " is cool"
end
local function onPlayer(plr)
local NiceMessage = getCoolCharacteristic()
print(tostring(plr) .. NiceMessage) -- AbiZinho is cool
end
game:GetService("Players").PlayerAdded:Connect(onPlayer)
It’s really easy to call functions and return values this way, and in my opinion, looks much neater and professional.
As for the colours in the script editor, I use the default colours.