Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I make decals become invisible on a part?

What I want is for a decal to become invisible at a certain time an then visible. I can script when by myself, I just don't know how to start it off. I tried this:

local b = game.Workspace.Part.Decal

function show()
b.Visible = false
end

show()

But this didn't work. Any suggestions?

1 answer

✓ Accepted answer

A Decal does not have the property of Visible.

A property it does have is Transparency, a NumberValue ranging between 0 - 1: 0 being fully visible 1 being not visible at all

So your script should go like this:

local b = game.Workspace.Part.Decal

function show()
b.Transparency = 1
end

show()

3 comments

0

Oh and also, you called your function show even though your hiding the decal? Just saying, may confuse you.

0

^

0

^^

This discussion is preserved as it was. New answers, comments, and votes are closed.