So I want my text to appear at a certain point on the screen, but I do not want it to, for example, went out of bounds, for this I try to select a random number from 0.2 to 0.8, but why my text always appears here, why?
math.random returns an integer between the starting position and the end position. As it is an integer, it doesn’t work with decimal values, instead returning 0 in this case.
One way of getting around this is to get the number between integers with a larger magnitude, and then dividing it by that magnitude.
i.e.