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: How would i do this?

Previous Thread :: Next Thread 
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
01 Aug 2012 05:42 PM
Ok i have a script, that when u touch a brick, it makes a Loading gui and generates a model with a brick called Shooter1 in a random position of the Place, ur camera moves to Shooter1.

How would i make it so I generate a model(car, plane, etc.) behind Shooter1?
Let's say i have a 2 models called "Dummy","Killer" in lighting. How would i make it so a random one clones behind Shooter1?
Report Abuse
flyacesnoopy is not online. flyacesnoopy
Joined: 25 Aug 2010
Total Posts: 1736
01 Aug 2012 05:52 PM
I think for the Loading gui you would do
function Ontouch()
Instance.new('ScreenGui', StarterGui)

That will get you started. For the camera the wiki can help you.
I'll get some more stuff soon once roblox studio opens :U
Report Abuse
robotmega is not online. robotmega
Joined: 16 May 2009
Total Posts: 14084
01 Aug 2012 05:54 PM
Did i mention i already made that?
i just need to know how to clone stuff behind shooter1 and be random
Report Abuse
flyacesnoopy is not online. flyacesnoopy
Joined: 25 Aug 2010
Total Posts: 1736
01 Aug 2012 06:01 PM
Umm...
Try
--Call those 2 models 'a'
local a = :clone() --This isn't right.. Don't remeber how to do it
a.Parent = Workspace --This gives it the new parent.
Then you have to choose were to put it. Which I havn't learned yet. Sorry
Report Abuse
TheEpicSamuri is not online. TheEpicSamuri
Joined: 04 Dec 2011
Total Posts: 1343
01 Aug 2012 06:03 PM
local a = game.Lighting.Model:Clone()
a.Parent = Workspace
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
01 Aug 2012 06:07 PM
For your attitude towards Us Helpers I won't help You with Positioning.


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