Invalid argument #2 to 'random' (interval is empty)

As the title says. image
I have no idea why I am getting that error, and I would appreciate the help!

Also, let me know If I choose the wrong category. :smiley:

2 Likes

Wrong category, this should be in #help-and-feedback:scripting-support

Also, use this instead

local randomZ = math.random(-153, 131);
3 Likes

Thank you for the help! :smiley:
Also, I will change the category.

1 Like