I want to make a map saving system that uses datastore and inherits to new servers, I made it but I got stuck when it came to Material saving, I tried to use string.sub() to get the part after “Enum.Material” but it still doesn’t work for some reason, please help me.
The part of the script I save the part’s material: