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 to clone from lighting to workspace?

Previous Thread :: Next Thread 
dyudabomb is not online. dyudabomb
Joined: 06 Jun 2010
Total Posts: 113
16 Feb 2013 10:40 PM
Hey! I'm trying to clone a model from lighting to workspace using this code

game.Lighting.Slender:clone(game.Workspace)

Should that bring the model named "Slender" To Workspace?

Thanks for help!
Report Abuse
Azarth is not online. Azarth
Joined: 17 Aug 2012
Total Posts: 2760
16 Feb 2013 10:42 PM
local sl = game.Lighting.Slender
sl:Clone().Parent = Workspace
Report Abuse
Joalmo is not online. Joalmo
Joined: 28 Jun 2009
Total Posts: 1160
16 Feb 2013 10:43 PM
Something like this you'd be better off just testing yourself, but yes, it would work as long as there's a model named "Slender" in lighting.
Report Abuse
Dodeca is not online. Dodeca
Joined: 11 Sep 2011
Total Posts: 13649
16 Feb 2013 10:59 PM
Here you go:

local a = game.Lighting.Slender:clone()
a.Parent = game.Workspace

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