|
| 11 Feb 2014 09:35 PM |
wait(5) while true do wait(.1) local pos = script.Parent local b = Instance.new("Part")
b.Position = pos.Position + pos.CFrame.lookVector b.Size = Vector3.new(2, 2, 2) b.Shape = 0 b.BrickColor=BrickColor.new("Bright blue") b.Transparency = 0.3 b.TopSurface = "Smooth" b.BottomSurface = "Smooth" b.CanCollide = true b.Parent = game.Workspace b.Velocity = Vector3.new(1, 75, 1) end
I need this script to spawn it in a different place than the workspace, like in a group. |
|
|
| Report Abuse |
|
|
Laedere
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 23601 |
|
|
| 11 Feb 2014 09:36 PM |
| what do you mean in a group |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2014 09:37 PM |
What I want is a spawner something like script.Parent.Parent(SpawnBlock) |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2014 09:43 PM |
| Watch my video it will tell you what you need: http://www.youtube.com/watch?v=RGmYlLOe-Sc |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2014 09:43 PM |
If that not what you ment use Torso.CFrame = CFrame.new() or MoveTo(Vector3.new()) |
|
|
| Report Abuse |
|
|
DevDerp
|
  |
| Joined: 25 Jan 2009 |
| Total Posts: 1000 |
|
|
| 11 Feb 2014 09:44 PM |
wait(5) while true do wait(.1) local pos = script.Parent local b = Instance.new("Part",Instance.new('Model',workspace))
b.Position = pos.Position + pos.CFrame.lookVector b.Size = Vector3.new(2, 2, 2) b.Shape = 0 b.BrickColor=BrickColor.new("Bright blue") b.Transparency = 0.3 b.TopSurface = "Smooth" b.BottomSurface = "Smooth" b.CanCollide = true b.Velocity = Vector3.new(1, 75, 1) end
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2014 09:44 PM |
| You guys dont understand. I dont need a teleporter. I need to set where the brick spawns. |
|
|
| Report Abuse |
|
|
| |
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 11 Feb 2014 10:44 PM |
theBrick = Workspace.Brick theLocation = Vector3.new(0,0,0) --Define an actual position.. or something like Node.Position?
function SpawnAt(Brick, Location) Brick.Position = Location end
SpawnAt(theBrick, theLocation) |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2014 08:56 AM |
--------------------------------------------------------------------------------- C A S E C L O S E D --------------------------------------------------------------------------------- I figured it out. Its this wait(5) while true do wait(.1) local pos = script.Parent local b = Instance.new("Part",script.Parent.Parent.Apple)--Change apple to the name of your brick or group
b.Position = pos.Position + pos.CFrame.lookVector b.Size = Vector3.new(2, 2, 2) b.Shape = 0 b.BrickColor=BrickColor.new("Bright blue") b.Transparency = 0.3 b.TopSurface = "Smooth" b.BottomSurface = "Smooth" b.CanCollide = true b.Velocity = Vector3.new(1, 75, 1) end
|
|
|
| Report Abuse |
|
|
DevDerp
|
  |
| Joined: 25 Jan 2009 |
| Total Posts: 1000 |
|
|
| 12 Feb 2014 03:43 PM |
| usfirepilot, please this would be considered spam. Its exactly what i made. |
|
|
| Report Abuse |
|
|