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!

6 comments

0

Elaborate more. You are very vague.

0

You can't.

0
0

Then your problem is solved, it can get your lines.

0

There isn't anything you can do to read lines within your scripts unless you're using an external service such as a plugin

0

You can use module script to share specific line of code.