Orixid
|
  |
| Joined: 19 Jun 2011 |
| Total Posts: 17 |
|
|
| 26 Jan 2016 05:40 PM |
| hello im trying 2 make state of the art tycoon, i got the droppers and upgraders and conveyors all done by a friend, but he has unfortunately left for the week and i dont feel like waiting that long, anyway, how would you add a mesh onto a part when it passes thru another part? like if you sent a normal brick 4x2 into a part, and that part had a script that would change the 4x2 brick into a mesh (a loaf of bread mesh for example). i would be willing to pay in trident layers or some robux |
|
|
| Report Abuse |
|
|
|
| 26 Jan 2016 05:42 PM |
it wuld be nise iff u use pruoper grammer adn English like this.
Ignorance at its finest. |
|
|
| Report Abuse |
|
|
Orixid
|
  |
| Joined: 19 Jun 2011 |
| Total Posts: 17 |
|
|
| 26 Jan 2016 05:49 PM |
| this is still roblox, i dont think i do |
|
|
| Report Abuse |
|
|
marfit
|
  |
| Joined: 10 Jan 2013 |
| Total Posts: 2539 |
|
|
| 26 Jan 2016 05:56 PM |
| I dont understand a word you said. Please use grammar, and provide the scripts and details for us. |
|
|
| Report Abuse |
|
|
|
| 26 Jan 2016 06:20 PM |
You'd need a bread loaf mesh, which means it must have been uploaded by roblox. Search for it in the model section it might be a hat or a gear. I'm not sure this will work, I'm on mobile, so I can't test it. I would suggest doing this in a different place in case it doesn't work. I'm not sure if MeshID or TextureID are properties of SpecialMesh, but roblox Wiki tells me it is. Make a part, anchor it, resize it, and turn CanCollide off. Insert a script into the part.
script.Parent.Touched:connect(function(hit) local Mesh = instance.new("SpecialMesh") Mesh.Parent = hit Mesh.MeshID = "" --Copy and paste the desired MeshID between the quotation marks. Mesh.TextureID = "" --Copy and paste the desired TextureID between the quotation marks end)
This script will change the mesh of ANY part it touches, I believe. I have no idea if that will work. Last time I tried to write a script for someone it failed horribly. Can someone please test it and tell me if it works? By putting it above the ground and dropping a part through it? |
|
|
| Report Abuse |
|
|