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

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

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.

1 comment

0

Script?

1 answer

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

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