Trying to find highlighted lines in script

Does ROBLOX have any sort of method to detect which lines of code are selected in a script? If not, what alternative exists to it?

Perhaps you could do seperate scripts for each line then detect which script is enabled???

Could you elaborate? I don’t understand what you mean

You could create different scripts for any line you would wanna check is running, yehr?

Then you can check if that script is enabled and running.

How would that work? How do separate scripts even tie in with highlighted lines?

Uhh…

Script 1;

--what ever you want

local new = (--place of other script--)

if new.Enabled == true then
--Bleh bleh
end