I am trying to create a thing so when the block hits a brick it's meshID changes.
local Changeable = game.workspace.Changeable
local Mesh = game.workspace.Changeable.Mesh
script.Parent.Touched:connect(function(obj)
if obj:FindFirstChild("Changeable") ~= nil then
Mesh.MeshId = "http://www.roblox.com/asset/?id=79429148"
Changeable.Name = "RailIn"
end
end)

2 comments
Are you sure you have it right? Do you mean texture? Because you can't upload meshes to ROBLOX as far as I know.
I am not trying to upload a mesh. This mesh already exists. Its type is a filemesh though it by default should change to that type. I want to add the texture of the mesh in a later script