Created
July 25, 2019 21:08
-
-
Save Windows81/ab1ddd31db16ced82bca384e6b1f9ac5 to your computer and use it in GitHub Desktop.
Run this code on the command line in Rōblox Studio to output the number of lines of code there are under a given package. Read the code to understand better,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local o=game.TestService local c=0 local t=o:GetDescendants()t[#t+1]=o for i,g in next,t do if g:isA'LuaSourceContainer'then c=c+#g.Source:gsub('[^\n]+','')end end print(c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment