Hey! Sorry, I'm terrible at scripting. Basically, I want a character to be holding a brick, and then when that brick comes in contact with another brick, it changes the name and the appearance. This is what I have so far. The name changes but the meshes don't:
function tch(h) if (h.Parent.Name == "Tool") then h.Parent.Name = "Cooked Tool" wait(0.5) h.Parent.Handle.Mesh.MeshId = "http://www.roblox.com/asset/?id=38963339" h.Parent.Handle.Mesh.TextureId = "http://www.roblox.com/asset/?id=134430675" end end
script.Parent.Touched:connect(tch)

1 comment
Please format your code.