Help with error

invalid argument #2 to ‘random’ (interval is empty)

clone.CFrame = CFrame.new(71, 149, math.random(372, 188))

math.random(x,y)
x cannot be larger than y

1 Like

Switch the digits and it’ll work

math.random(188, 372)
1 Like

Post withdrawn by author will be deleted

For math.random statements, argument 1 must be less than argument 2. Therefore, math.random(372, 188) will NOT work, and math.random(188, 372) should work.

1 Like

Let me introduce you to Random.new().
More information: Screenshot by Lightshot