Hello there,
I want to make a text label not be visible anymore 3 seconds after it becomes visible. This is what I have in a localscript as a child of the text label (referred to as "CoinsEarned").
local CoinsEarned = script.Parent
CoinsEarned:GetPropertyChangedSignal("Visible"):Connect(function()
if CoinsEarned.Visible == true then
wait(3)
CoinsEarned.Visible = false
end
end)
For some reason, this works the first time. However, as soon as the text label becomes visible for a second time, it never shows up.
Thanks in advance!

1 comment
Why would you want to do this??? This should work.