I’ve been trying to make a script that creates a block and spaces them out for every material I have, but it hasn’t been working
What do you want to achieve?
I need to see every materiel that I have so I can decide which one to use and which one to remove, also an a-z thing would help
What is the issue?
I have tried it, but it only does 8 blocks (that are robloxs materials)
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have tried some things and I did look on the developer hub
local MaterialService = game:GetService("MaterialService")
for _, matVariant in MaterialService:GetChildren() do
if not matVariant:IsA("MaterialVariant") then continue end
--matVariant is now guarunteed to be a MaterialVariant
local part: Part = Instance.new("Part") --Need to set parent at some point
part.Material = matVariant.BaseMaterial --If this isn't set, then the MaterialVariant will not work
part.MaterialVariant = matVariant.Name
end