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: I Need a car spawning Gui

Previous Thread :: Next Thread 
DragonFox11 is not online. DragonFox11
Joined: 15 Nov 2013
Total Posts: 284
23 Dec 2013 05:10 PM
any help?
Report Abuse
thetacah is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
23 Dec 2013 05:12 PM
Add a gui
add a textbutton
MouseButton1Click
Clone the car
parent the car to Workpsace
Report Abuse
DragonFox11 is not online. DragonFox11
Joined: 15 Nov 2013
Total Posts: 284
23 Dec 2013 05:24 PM
Thank you
Report Abuse
DragonFox11 is not online. DragonFox11
Joined: 15 Nov 2013
Total Posts: 284
23 Dec 2013 05:25 PM
also what exactly do i do ?
Report Abuse
LordGando is not online. LordGando
Joined: 05 Jul 2011
Total Posts: 6723
23 Dec 2013 05:30 PM
Make an GUI, then make an BUTTEN for the GUI,

-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk http://woobox.com/6gs8j6/vote/for/1518073
Report Abuse
DragonFox11 is not online. DragonFox11
Joined: 15 Nov 2013
Total Posts: 284
23 Dec 2013 05:35 PM
i made the button etc but how do i make it spawn a car.
Report Abuse
LordGando is not online. LordGando
Joined: 05 Jul 2011
Total Posts: 6723
23 Dec 2013 05:48 PM
You need to make an script inside the butten

-LᴏʀᴅGᴀɴᴅᴏ - Cows make milk, I drink milk http://woobox.com/6gs8j6/vote/for/1518073
Report Abuse
DragonFox11 is not online. DragonFox11
Joined: 15 Nov 2013
Total Posts: 284
23 Dec 2013 06:11 PM
sweet now i need scripting lessons
Report Abuse
EcIiptic is not online. EcIiptic
Joined: 12 Aug 2009
Total Posts: 13737
23 Dec 2013 06:15 PM
Spawn a car?

Put your said car in ServerStorage and then do this.

local c = game.ServerStorage.CARNAMEHERE:Clone()

c.Parent = game.Workspace


That's your basic cloning script. If you want to get into further detail, you probably need to learn some basic scripting.
Report Abuse
DragonFox11 is not online. DragonFox11
Joined: 15 Nov 2013
Total Posts: 284
23 Dec 2013 06:46 PM
...
Report Abuse
KiwiMeister is not online. KiwiMeister
Joined: 18 Feb 2010
Total Posts: 1464
23 Dec 2013 06:51 PM
Car = game.ReplicatedStorage.CARNAMEHERE

script.Parent.MouseButton1Down:connect(function()
Thing = Car:clone()
Thing:MakeJoints() -- maybe put this line under thing.parent = workspace if it doesn't work
Thing.Parent = workspace
script.Parent.Parent.Visible = false

end)
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