So ive been making a code and this is a part im struggling for the last hour…
the code is :
for _,v in script.Parent.Parent.invgui:GetChildren() do
if v:IsA("TextLabel") == true then
v.TextTransparency = 1
end
it just doesnt work and seems to break the whole script.
please help ASAP i need this quickly…
3 Likes
Are you getting any console errors? Can you also post a picture of your hierarchy please
3 Likes
no… idont get any console errror at all…
4 Likes
Try using :GetDescendants() instead of :GetChildren()?
5 Likes
ok i will try that out now and thanks for the help
4 Likes
Are you trying to refer to the TextLabels
that are located in the UnlockedText Folder
?
Or the ones that are located in the Frame
?
3 Likes
sorry but this is already solved… but thanks for help still
3 Likes
It’s fine … Good luck with your game!
3 Likes
system
(system)
Closed
#9
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.