Hey, So I am making a loading screen, I have the bar and music working but after a certain amount of time, I set it so the background transparency fades out, I put this script together but I does not work, Can anyone help?
local mainframe = script.Parent
local function diss()
while wait(.1) do
mainframe.BackgroundTransparency = mainframe.BackgroundTransparency -0.1
end
end
wait(26)
diss(mainframe)