Hello. I’m writing crafting system, in which crafting name can contain things like “Any” or “Same”. For example crafting “SameStoneBrick” using Basalt you will receive BasaltBrick.
But I’m have problem - for creation crafting slot button, I need get Model for ViewportFrame, which have name “StoneBrick”, not “SameStoneBrick”.
local OriginalName = “SameStoneBrick”
local WhatNeeded = “StoneBrick”
How I can remove “Any” or “Same” from string?