I’m not sure if this is the right place to put this, so let me know.
So one of my scripts has lots of locals. Like, a lot. And I’m wondering if it’s possible to minimize some code just like being able to minimize functions.
Also, looking at your code I don’t think you need to save a value for every color. Why not just have a quick directory and get colors whenever you need them?
local Colors = script.Parent.Colors
-- Now instead of having 50+ variables,
-- just write Colors.COLOR_HERE for color when needed
But that’s just how I would do it, seems more practical.