Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Uh, wrong number of arguments?

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

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.

1 comment

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.