How would I shorten this script?
script.Parent.BlackScreen.BackgroundTransparency = 0.1
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.2
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.3
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.4
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.5
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.6
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.7
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.8
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 0.9
wait(0.1)
script.Parent.BlackScreen.BackgroundTransparency = 1

1 comment
It should be 0, 1. It's start, end [, increment] and 100 milliseconds, not 0.1 milliseconds