|
| 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
|
  |
| Joined: 04 May 2008 |
| Total Posts: 6081 |
|
| |
|
|
| 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
|
  |
| 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
|
  |
| 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
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
|
| 09 Oct 2011 02:01 AM |
| btw how would i set the position of a model? |
|
|
| Report Abuse |
|
|
|
| 09 Oct 2011 02:54 AM |
| Use MoveTo its the best to move a model. |
|
|
| Report Abuse |
|
|