Hi all,
Just needed some help with fixing this seemingly innocent error, however, it has been causing me quite a pain in the behind for about half an hour now. If anybody could tell me in which pair(s) of parentheses I might’ve done incorrectly, that would be greatly appreciated.
Exact line of code where error occurs:
blockInstance is a part, caveSizeY is a number
Well did you debug your code at all? Just add a print above the code and see what the math.random values give you. You need to debug your code before asking us for answers we cannot even give you, because you only provided a line of your code.