So i made a frame and it shows up now but doesn't fade can anybody help me.\ I made the frame visible but the transparency 1 so that you can't see it. When I click my play button it's supposed to show the frame fade. Also, sorry for asking this question too many times, im not new to roblox however still bad at it.
Script:
local black = script.Parent.Parent.Parent.BlackFadingGui.Frame local playergui = game.Players.LocalPlayer.PlayerGui script.Parent.MouseButton1Click:Connect(function(player) black.BackgroundTransparency = 0.1 -- >> Functioning for i = 1, 0, 0.1 do black.BackgroundTransparency = i -- ensure that you set your iteration so that it will increase/decrease wait(0.5) -- so essentially the way this script works is that, it'll start by 0, and by every .1 of a second, itll fade to one. so it goes 0, .1, .2, .3, .4, .5 and so on end