How many lines of code do Roblox games have?

I haven’t been able to find any posts covering this information but I was curious as to where my new unreleased game stands in terms of how much coding I put into it. My new game has about 13,000 lines code at the moment. Does anyone know how many lines of code some of the large, average, small, or even just generally popular games on the platform have?

Thanks

5 Likes

This doesn’t really matter. As long as your game works how you want, then how many lines of code it has is not a big deal.

1 Like

Kinda depends on what you’re making. Personally, I’m not a huge scripter by ANY means. But I’d say if it’s a good game, probably 30k or more. If you’re scripting simple mechanics I’d say about 13k like you have

1 Like

Are you talking about a single script or all scripts combined? All scripts combined in my game is probably around 10k lines but its not a very successful game.

Just checked my game has 14930 lines of code.

Personally, I usually write scripts that have a minimum of 75 lines of code so I can debug, organize, and make sure that everything works as intended. Overall, as long as your game runs smoothly with little to no errors, you should be just fine, and you can make simple changes in the future whenever they are needed. You can also create some scripting techniques and see which works best for you.