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

I get an error everytime in my script and I don't know how to fix it. Can you fix it?

Asked by 6 years ago

I tried to make a colorchange script and it worked but I tried to repeat it but it sends me and error: "Workspace.Part.SurfaceGui.Dancefloorscript:33: attempt to call global 'getrandomcolor' (a nil value)"

And I don't know how to fix this.

0
Script? arshad145 392 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

I think your problem is that you have a global function over local scripts and normal scripts.

Ad

Answer this question