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

Uh, wrong number of arguments?

Asked by 9 years ago

Output:

22:21:24.825 - Players.Player1.PlayerGui.main.gui_control:140: wrong number of arguments

Line 140:

leparticle.BackgroundColor3 = Color3.new(math.random(1/255, 0/255, 0/255))

I don't get what's wrong.

1 answer

Log in to vote
0
Answered by
Goulstem 8144 Badge of Merit Moderation Voter Administrator Community Moderator
9 years ago

Well, firstly, why the heck are you converting the arguments for the Color3 scale into radians? Also the '0/255' may cause a divide by 0 error.

0
woops on the first part. second, i don't think so. i've done 0/255 before on other scripts, and it never caused errors. Fidgeting 60 — 9y
Ad

Answer this question