Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Spawning a new brick?

Asked by 10 years ago

I know how to spawn a new brick, but it never works anymore, can someone give me an example of it just in case I know I'm doing something wrong?

2 answers

Log in to vote
3
Answered by
KAAK82 16
10 years ago
brick = Instance.new('Part', game.Workspace)
brick.Name = 'Brick' 
--Do as much stuff as u like using 'brick' from above (the Variable that is equal to the New Brick)
0
Thanks, I remember doing it another way, but it must have been wrong! LegoDude9630 15 — 10y
0
there is another way... brick = Instance.new('Part') brick.Parent = game.Workspace... also, thnx for Accepting Answer :D no1 these days thnx me for giving them Answers... KAAK82 16 — 10y
Ad
Log in to vote
0
Answered by
IcyEvil 260 Moderation Voter
10 years ago
brick = Instance.new("Part")
brick.Name = "Brick"
brick.Parent = game.Workspace

Answer this question