I'm working on an electronic construction sign and I was wondering if someone could help me with a peice of my code. When I run my code I get an error saying that Line is not a valid member of model. I am trying to use a string by calling function letterCheck(). I am unfamilliar with using strings in Lua and I am also not sure if what I have for calling my function will work either. If someone could help I would greatly appreciate it. I have provided a small section of my code below.
while true do
local p = script.Parent
else
l=1
for i=1, 8 do
p.Line[l].Letter[i].Decal.Texture = letterCheck(l,i) <-- Line 18
end
end
end
|