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
 

How to insert a mesh with a script

Previous Thread :: Next Thread 
ikoviron is not online. ikoviron
Joined: 21 Feb 2010
Total Posts: 226
24 Dec 2015 11:58 AM
I've tried Instance.new but I had to read wiki to realize that mesh's are "abstract" (what ever that means) and cannot be created with Instance.new. I'm making a tycoon button that when you click, will spawn katanas. I've also tried putting the mesh inside the script and used a line like BasicKatana = script.Mesh:Clone() and then I set the parent to both Katanas (I have a x2 that will drop an extra katana when it is bought). When I click the button a second time, the mesh comes out of the first set of Katana's and is inserted inside the new Katanas. This process basically repeats itself, every time I click the preceding katana's lose their mesh but the newly spawned ones have the Mesh. How can I fix this problem?
Report Abuse
ChiefTitan is not online. ChiefTitan
Joined: 03 Dec 2015
Total Posts: 2242
24 Dec 2015 12:02 PM
why not just clone preset katanas
Report Abuse
jumpykilldestroy is not online. jumpykilldestroy
Joined: 15 Jul 2012
Total Posts: 12319
24 Dec 2015 12:03 PM
if your trying to make a katana mesh then you would use a specialmesh

so it would be Instance.new('SpecialMesh')
Report Abuse
ikoviron is not online. ikoviron
Joined: 21 Feb 2010
Total Posts: 226
24 Dec 2015 12:06 PM
According to the Wiki, there isn't a way to use Instance.new with Meshs' and there aren't original Katana's I'm creating them with a script.
Report Abuse
ikoviron is not online. ikoviron
Joined: 21 Feb 2010
Total Posts: 226
24 Dec 2015 12:10 PM
I've tried adding an Instance.new("SpecialMesh") but when I click it, the Katana's still have the problem that when you click them again the old Katana's don't have the mesh.
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