This script just places the number id inside the decal but the decal is not shown, any help?
function event.OnServerInvoke(player,id,color)
local prefix ="rbxassetid://"
local color = BrickColor.new(color)
local image = (prefix..id)
local parts = workspace.Banners:GetChildren()
if color then
for i,v in pairs(parts) do
if v.Name == "Cloth" then
v.BrickColor = color
elseif v.Name == "Crest" then
v.Decal.Texture = id
end
end
else return "Invalid Color!"
end
return "Banner set!"
end

2 comments
Many thanks! it solved the problem
No problem!