Let's say the script is this:
local food = "pizza"
print(food)
print("Yum")
And if another script is trying to get line 2, how would it do that? And how can I get the total lines code? Thanks!
Let's say the script is this:
local food = "pizza"
print(food)
print("Yum")
And if another script is trying to get line 2, how would it do that? And how can I get the total lines code? Thanks!
This discussion is preserved as it was. New answers, comments, and votes are closed.
6 comments
Elaborate more. You are very vague.
You can't.
Even if a plugin is doing it? https://web.roblox.com/library/333507912/Lines-Of-Code
Then your problem is solved, it can get your lines.
There isn't anything you can do to read lines within your scripts unless you're using an external service such as a plugin
You can use module script to share specific line of code.