I know I did everything right, but it isn't working.
while wait() do
if game.Workspace.Loading.Value == true then
script.Parent.DarkScreen.Visible = true
repeat script.Parent.DarkScreen.BackgroundTransparency = script.Parent.DarkScreen.BackgroundTransparency -0.1
until script.Parent.DarkScreen.BackgroundTransparency <=0
script.Parent.GameLoad.Visible = true
script.Parent.DarkScreen.Visible = false
wait(12)
script.Parent.GameLoad.Visible = false
end
end
