UPumpkin
|
  |
| Joined: 26 Jan 2010 |
| Total Posts: 590 |
|
|
| 27 Aug 2015 08:22 PM |
local a = game.Workspace.Pizza:Clone() a.Parent = game.Workspace a.Position = Vector3.new(math.random(-11,-59),math.random(25.,25.5),math.random(1,50))
Should this be a local script. Should this be the child of pizza (under pizza) |
|
|
| Report Abuse |
|
|
Am4uryXp
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 20550 |
|
|
| 27 Aug 2015 08:23 PM |
Don't use free models, and no, don't use local scripts for that |
|
|
| Report Abuse |
|
|
Hoshijiro
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 4105 |
|
|
| 27 Aug 2015 08:25 PM |
Don't use local scripts. And no, it doesn't need to be a child of Pizza. |
|
|
| Report Abuse |
|
|
Hoshijiro
|
  |
| Joined: 20 Aug 2008 |
| Total Posts: 4105 |
|
|
| 27 Aug 2015 08:25 PM |
| Is it not working because :Clone() has a capital C? |
|
|
| Report Abuse |
|
|
Am4uryXp
|
  |
| Joined: 04 Sep 2011 |
| Total Posts: 20550 |
|
|
| 27 Aug 2015 08:28 PM |
| Both :Clone() and :clone() work even if the ''C'' is capitalized |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2015 08:33 PM |
math.random can't do negatives, so replace
math.random(-11, -59)
with
-math.random(11, 59) |
|
|
| Report Abuse |
|
|