this script is in the button which makes the meshpart appear:
script.Parent.MouseClick:Connect(function()
local mpart = Instance.new("MeshPart",game.Workspace)
mpart.Position = Vector3.new(236.04, 81.46, 36.46)
mpart.MeshId = "rbxassetid://1107996700"
mpart.TextureID = "rbxassetid://1107996710"
mpart.Size = Vector3.new(4, 5, 5)
end)
when the meshpart appears it doesnt have the texture or mesh, its just the blank part and i need it to have the texture and meshid. thanks

1 comment
you cant assign a MeshId to a MeshPart after running the game sadly, use a SpecialMesh instead