If textlabel has a text, make the part visible

Hello,

I have a textlabel and what i need is when the textlabel has any text, then a part will be visible.
Thank you to anyone who can help me.

Sincerely,
Milk

u can code out the logic like this

if textlabel.Text ~= "" then
     part.Transparency = 0
end
1 Like

i think they also want to track when the text changes too so it would be more like this:

textlabel.Changed:Connect(function()
if textlabel.Text ~= "" then
     part.Transparency = 0
end
end)

1 Like

I was about to send a text that its changing mid game, but i dont have to anymore.

Thank you so much.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.