So essentially I'm trying to use a local variable in another function and obviously it's not working so I'm wondering if there's a way to move the contents of a local variable into a variable that can be used in other functions within the same script.
COMMUNITY QUESTION
How do I export the contents of a local variable?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Remove local, and it can be used anywhere inside of that script. So, blue = Color3.fromRGB(0,0,255). And you can use that anywhere.
Or create an empty variable at the top, and just set the values equal to that.