Like how do i make a script where it will just be spawning bricks in a certain area?
✓ ANSWER ACCEPTED
How do i make a brick spawning script?
1 answer
✓ Accepted answer
This is quite broad, but I'll answer anyway.
You can make parts with Instance.new("Part")
part = Instance.new("Part",game.Workspace) -- the second parameter is the parent
part.Anchored = true --then just change it's properties
To make it spawn in a random area, use math.random
part = Instance.new("Part",game.Workspace)
part.Position = Vector3.new(math.random(1,20),1,math.random(1,20))
Leave a comment if you need anything clarified.
1 comment
0
How do i make it spawn on a part like if insert a part into the workspace how can i make the script spawn parts from that part (Little confusing lmfao)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
To have it spawn on a part, set it's position to: ..........Vector3.new(game.Workspace.SpawnerPart.Position)+Vector3.new(0,game.Workspace.SpawnerPart.Size.Y,0)