What is supposed to happen is when a player clicks a TextButton, a frame fades away.
Nothing happens.
The script:
local player = game.Players.LocalPlayer
local frame = player.PlayerGui.Intro.BackgroundFrame
script.Parent.MouseButton1Click:connect(function()
for fade = 0, 1, +0.1 do -- every .1 second the frame fades out a little bit
frame.BackgroundTransparency = fade
wait(0.1)
end
end

2 comments
Take away the + on the 0.1
Thanks! It works now.