PumpkinPrice = PumpkinPrice * UnnamedValues.ValueArray.MaterialArray[tostring(Object.Material)]
But there are many conflicts, as .Value would print it's enum correspondant, and ^ throws an error.
I want to be able to directly get the name of the material from a base part.

2 comments
thanks
No problem, I haven't tested it at all so let me know how it goes once you've tried it.