generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: need small itsy bitsy bit of help

Previous Thread :: Next Thread 
Orixid is not online. 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
DesignerDavid is not online. DesignerDavid
Joined: 18 Feb 2014
Total Posts: 8422
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 is not online. 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 is not online. 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
IrritatedDolphin is not online. IrritatedDolphin
Joined: 03 Apr 2014
Total Posts: 80
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image