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

How do I generate a random number between 0 and 0.5?

Asked by 9 years ago

How do I generate a random number between 0 and 0.5? I need it so I can set the topbar's transparency to something random. I've tried countless things, nothing works completely.

1 answer

Log in to vote
0
Answered by
SurVur 86
9 years ago
Number = (math.random(0,5)/10)
Ad

Answer this question