Does anyone know any uncopylocked games I can look at to see their code organization? My code is still a mess and I want to know how to organize it because I haven’t fully grasped the concept yet
Could we perhaps see how you organize your own code with a screenshot or sum? Suggestions would be more effective if we could see how you organize code
Vesteria’s code was open sourced a few years back and there are some good lessons that can be learned from there.
Don’t blindly follow though, berezaa himself said there were mistakes made when organizing Vesteria.
The main thing is I don’t know how many local scripts or server scripts or module scripts to have and idk what type of functions to put in them. Literally 99% of the time I just wing it and eventually I get super lost and have to restart (which is what’s currently happening & why I need help) I put random stuff in my scripts whether it be a module, server, or local script without even fully knowing why I put it there
Maybe just add more paragraph breaks to help better separate out code imo. You can also connect the functions at the bottom of the script instead of just connecting them directly so it’s easier to label functions. Like:
local function playerJoinEffect(plr)
end
Players.PlayerAdded:Connect = playerJoinEffect
Or just add more comments explaining the functions you make, depends.