Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

bad argument #2 to 'random' (interval is empty)?

p.Position = Vector3.new(math.random(100,226),math.random(100,10),math.random(100,261))

3 comments

1

math.random(100,10) has no interval, there are no numbers between 100 and 10.

0

smaller number goes first ;)

0

it should be math.random(10,100); i mean the smaller number stand in front of the big number

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.