|
| 23 May 2016 10:02 AM |
Hey, I'm trying to get an object to spawn on a brick that is..
Position: 1, 0.1, 52 Size 10, 0.2, 6
What I'm trying to do is get a mass of objects to spawn on-top of this brick in random places of it, Is anyone able to help me out with this?
I'm also trying to figure out a limiter so it detects a certain number of spawned objects and stops. |
|
|
| Report Abuse |
|
|
Aeureaus
|
  |
| Joined: 05 Nov 2011 |
| Total Posts: 109 |
|
|
| 23 May 2016 10:47 AM |
Vector3 Places the block on top of the target
Try CFrame
EG: If I want a part called "blue" to be in the exact same position as "red" then type this:
game.Workspace.blue.CFrame = game.Workspace.red.CFrame
I'm not sure about size though. Maybe do the size THEN the CFraming.
#code roblox.Servers:Destroy() |
|
|
| Report Abuse |
|
|
KapKing47
|
  |
| Joined: 09 Sep 2012 |
| Total Posts: 5522 |
|
|
| 23 May 2016 11:18 AM |
https://www.roblox.com/Random-Spawn-Position-item?id=236450177 Learn from this script ;) |
|
|
| Report Abuse |
|
|
| |
|