Vending machine flavours

Mango is a model so we need to make it so instead of linking to a mesh part it links to a model?

I think your script is trying to link to the tool’s MeshPart.
Show me what your tool looks like in Explorer.

What can I do to fix it. :frowning:


Screenshot the tool you’re using in Explorer. The tool that the script is trying to change the color of? I think I have an idea of what’s going on.

image

Are you able to change the BrickColor of “Drink” in the tool manually?

Not really because of all the different flavours so it wouldn’t be very convinient.

I’m not talking about for the game-sake. Are you able to change the color of Drink manually? Is it possible to do that, or is the Drink stuck on white?

I don’t understand what your saying lol

Are you able to change the BrickColor of Drink using the pallete? Does Drink change color at all?

Yes it does, using the script. The script links to the Drink.Color which means like, that part - the color refers to the brick colour value linked to the script but it doesn’t work.

Once again, I’m not asking for the game-sake.

Try running the script again and playing the game as normal. At the point where the “Drink” tool color is supposed to be changed, go into Explorer, and check the BrickColor property of the part. Did it change at all?

Nope, it is still white and the transparency is still one, it is supposed to change to deep orange.