Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to fade in?

Asked by 10 years ago

How would I set the screen to black when a player joins my game, then have it fade into regular view?

1 answer

Log in to vote
0
Answered by 10 years ago
for i =1,10 do 
wait(.05) 
a = 10-i b - a*.01 
text.TextTransparency = b 
end -- try that

It iteraes thru and subtraces 10-the number the iteration is on then divides it by .01 to get a 1/10 which is basic transparency.

Ad

Answer this question