To begin, I am creating a really ugly table that looks like this:
local things = {["1"] = {['1.1'] = {},['1.2'] = {['1.2.1'] = {}}}}
Basically if there was infinite values going up to 1.1.1.1.1.1.1.1.1................ etc...
I would have to use recursion... I don't exactly see how to do it.. On top of that getting its full path like this:
1-->1.2-->1.2.1
seems really impossible. Is there a reliable and efficient method of doing this without memory loss?
What I tried:
new.ImageLabel.MouseButton1Click:Connect(function()
if t == false then t = true
new.ImageLabel.Rotation = 0
local children = things[v]
if #children > 0 then
end
end
end)
I assumed something like this would work but I'd constantly be adding MouseButton1Click up to 100000

2 comments
Just thought of an idea, feel free to reply if you can help... I'll tell you guys how it goes.
Didn't work T_T