Daniel. Posted June 16, 2012 Share Posted June 16, 2012 How AM i suppose to do a math.random or something like that I'm trying to create a number when a player connects so like it's just a random number how would I do it? Link to comment
TAPL Posted June 16, 2012 Share Posted June 16, 2012 This will give you a random number between 50 and 100 local RandomNumber = math.random(50, 100) Link to comment
Callum Posted June 16, 2012 Share Posted June 16, 2012 As aforesaid, and if you only specify 1 argument it presumes the first is 1. So math.random(1000) Gets a random number between 1 and 1000. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now