I am trying to make this script change the BackgroundTransparency of a frame to a random number between 0.1 to 0.9 but it ends up setting it as 0. Can anyone tell me how to make this work besides having to do.
if math == 1 then
script.Parent.BackgroundTransparency = 0.1
end
Here is the script:
local math = math.random(1,9)
script.Parent.BackgroundTransparency = 0.,math
