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: script.Lighting.Part:Clone().Position = workspace["Door" .. tostring(#)].Position

Previous Thread :: Next Thread 
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
09 Oct 2011 12:55 AM
how would i go about using this ^^ to take a math.random and whatever the random is thats the # of the door?
Report Abuse
Pennyz is not online. Pennyz
Joined: 04 May 2008
Total Posts: 6081
09 Oct 2011 12:57 AM
[ Content Deleted ]
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
09 Oct 2011 01:03 AM
??... someone told me to use this for my game but they logged off.. i checked wiki and couldnt find anything on it. :|
Report Abuse
GoldenUrg is not online. GoldenUrg
Joined: 23 Aug 2009
Total Posts: 6428
09 Oct 2011 01:28 AM
script.Lighting.Part:Clone().Position = workspace["Door" .. tostring(math.random(1,10))].Position

"script.Lighting" seems strange.
Report Abuse
Xnite515 is not online. Xnite515
Joined: 18 Feb 2011
Total Posts: 22763
09 Oct 2011 01:33 AM
workspace.Lighting.Part:Clone().Position = workspace["Door" .. tostring(math.random(1,10))].Position


I think.

The "script.Lighting" is wierd o.o
Report Abuse
1WOOF1 is not online. 1WOOF1
Joined: 03 May 2009
Total Posts: 20682
09 Oct 2011 01:56 AM
[ Content Deleted ]
Report Abuse
callmeduck2 is not online. callmeduck2
Joined: 18 Jan 2010
Total Posts: 2804
09 Oct 2011 02:01 AM
btw how would i set the position of a model?
Report Abuse
bikerking200 is not online. bikerking200
Joined: 11 Mar 2010
Total Posts: 5047
09 Oct 2011 02:54 AM
Use MoveTo its the best to move a model.
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