Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

How do I fade in a union?

Asked by 9 years ago

I tried a script based off of a fading GUI script from the wiki. Here's the script:

function fadeIn()
    local union = game.Workspace.RBLogoIntro
    for i = 0, 1, -.1 do
        union.Transparency = i
        wait(0.1)
    end
end

script.Parent.Touched:connect(fadeIn)

Thanks in advance for any help you may provide!

The script worked to fade out from 0 before I added the negative sign.

Answer this question