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

Gui Random Math Pop up? [closed]

Asked by 4 years ago

Ok, so I'm trying to make an event join pop up. So it uses random math but I don't know how to use random math so, please help me.

Closed as Non-Descriptive by imKirda and Dovydas1118

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?

1 answer

Log in to vote
0
Answered by
imKirda 4491 Moderation Voter Community Moderator
4 years ago

What exactly is random math? Do you mean math.random? math.random or Random are used to generate random numbers.

math.random takes 2 arguments, min number and max number from which it will then generate the random number. If none are given it will generate random number from 0 to 1.

math.random(1, 10) -- random numbeer from 1 to 10
math.random(1, 1.5) -- always 1, math.random can't generate number with digits, use Random instead
math.random() -- random from 0 to 1 (ex. 0.88859345) (Interesting that here it can generate number with digits)

Otherwise i really have no idea what do you mean by Gui Random Math Pop up.

0
Yes! math.random jmathewbat -13 — 4y
Ad