I’m having an issue that I’ve never run into before while scripting a tween for a BodyColors value. I can’t put an equals sign in table.insert to set what I need to for the tween to function. I can’t define it since it has another equals sign in it and if I put quotations the tween won’t work. Also the “ColorHeadColor3” is just a color3 so don’t worry about that. This feels like something that would be a very basic fix but I’m not quite sure what to do here, I’m self taught so I may have missed something somewhere along the way. Any help?
You do this if you want a Dictionary:
Goal["HeadColor3"] = ColorHeadColor3
I am not sure what you are trying to do as it is not clearly explained in your question. Could this be what you are looking for?
table.insert(Goal, {HeadColor3 = ColorHeadColor3})
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.