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 » Scripting Helpers
Home Search
 

Re: Help please

Previous Thread :: Next Thread 
Lero555 is not online. Lero555
Joined: 22 May 2010
Total Posts: 1017
22 Jul 2011 12:49 AM
Im new to scripting, and I was wondering if someone could teach me how to make a object appear by using a gear, help is apreciated (btw couldnt find it on the wiki)
Report Abuse
Xsitsu is not online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
22 Jul 2011 12:52 AM
This is how to make an object be created out of nothing.

Instance.new("Part")
part.Name = "Your parts name here, it must be in between the quotes"
part.Parent = game.Workspace




There are other values you can change to further customise it but this is the very basic.
Report Abuse
Lero555 is not online. Lero555
Joined: 22 May 2010
Total Posts: 1017
22 Jul 2011 12:54 AM
Thanks, ill try this and see if it works well for it
Report Abuse
Lero555 is not online. Lero555
Joined: 22 May 2010
Total Posts: 1017
22 Jul 2011 12:59 AM
Oh wait meant how would I make a model appear using a gear? (Sorry meant model in the first place just forgot to include it there)
Report Abuse
Xsitsu is not online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
22 Jul 2011 01:00 AM
What do you mean by a model? Like insert a model from free models, clone a pre made model and move it to where you desire or create a brand new one?
Report Abuse
Lero555 is not online. Lero555
Joined: 22 May 2010
Total Posts: 1017
22 Jul 2011 01:03 AM
I have the model, I was asking how to make it to when I use the gear it creates a new model where I clicked
Report Abuse
Xsitsu is not online. Xsitsu
Joined: 28 Jul 2009
Total Posts: 2921
22 Jul 2011 01:06 AM
The code that I can give you would be



model = script.Parent.Model:clone()
model.Parent = game.Workspace
model:MoveTo(mouse.target)


Just an example.
Report Abuse
Lero555 is not online. Lero555
Joined: 22 May 2010
Total Posts: 1017
22 Jul 2011 01:20 AM
Its the teleport model you want to know about that im trying to turn into a gear that places it, sadly I dont have a clue about scripting, other then how to use the teleport model
Report Abuse
Lero555 is not online. Lero555
Joined: 22 May 2010
Total Posts: 1017
22 Jul 2011 01:21 AM
Btw that didnt work either, i might have typed it wrong, name of the model is Quick-Place Teleporter, can you replace whatever would need to be replaced with the actual name of the model with the name please?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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