I made a machine that would change the anypart that touch it into a fedora but i want the machine to change the mesh to a tophat when a part touch it and i want it to do this pattern over and over here is the script. I Tried
B = script.Mesh
function onTouched(part)
BC = B:clone()
BC.Parent = part
script.Parent.CanCollide = false
then
wait(0.2)
script.Mesh.ChangeMeshId.http://www.roblox.com/asset/?id=162384581
script.Mesh.ChangeTextureId.http://www.roblox.com/asset/?id=162384608
BC.Parent = part
script.Parent.CanCollide = false
then
wait(0.2)
script.Mesh.ChangeMeshId.http://www.roblox.com/asset/?id=------NEW ID
script.Mesh.ChangeTextureId.http://www.roblox.com/asset/?id=-----NEW ID
----THEN IT WILL DO THIS OVER and OVER
end
script.Parent.Touched:connect(onTouched)

2 comments
thanks!
No Problem.