Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

ServerScriptService.IceServer:24: bad argument #1(interval is empty). Any clue why?

Asked by 4 years ago

I will provide a link to picture which contain my code and output. Hope you guys can help me on this one. https://gyazo.com/7700b0dfe4689455b0c1fb848cc3f790

2 answers

Log in to vote
1
Answered by 4 years ago

Your local function Ice()'s code caused the error.

At line 24 you put . (dot) instead of , (comma) which caused an error because there no maximum value (like minimum: 11.11 maximum: 0) or because the minimum value has the higher value than the maximum value.

Here is the code to fix line 24 (ONLY LINE 24)

local extra = math.random(-11,11)/10

In the future, you should fix typo which can cause the error.

If this answer worked then please accept this answer.

0
Thank you! nintendo3dsss 11 — 4y
0
No problems. Happy scripting! Somone_exe 224 — 4y
Ad
Log in to vote
0
Answered by 4 years ago

You put a . instead of a comma ,

Answer this question