of     1   

icecafe33552
#31289478Tuesday, August 10, 2010 1:37 AM GMT

brick = game.Workspace.Brick function onTouch(part) --the function workspace.Brick:remove() end brick.Touched:connect(onTouch) why wont it remove the brick?
Scorpfin
#31290379Tuesday, August 10, 2010 1:47 AM GMT

Capitalize Workspace
Scorpfin
#31290462Tuesday, August 10, 2010 1:48 AM GMT

And for future reference, the function arguments are not needed in this case, because you are not affecting the thing that hits brick.
legocitymovie
#31290637Tuesday, August 10, 2010 1:50 AM GMT

y not just do this brick = game.Workspace.Brick function onTouch(part) --the function brick:remove() end brick.Touched:connect(onTouch)
legocitymovie
#31290731Tuesday, August 10, 2010 1:51 AM GMT

mako123 you dont need to capitalize workspaces it works just fine putting workspace
ninga95
#31292117Tuesday, August 10, 2010 2:08 AM GMT

He is right though. You do have to capitalize Workspace. In some cases though, but what i know you capitalize Workspace all the time.
OBF
#31292197Tuesday, August 10, 2010 2:09 AM GMT

Workspace == workspace.
LPGhatguy
Forum Moderator
#31292228Tuesday, August 10, 2010 2:09 AM GMT

You don't have to capitalize workspace, actually. game.Workspace is preffered though. But I wonder, why are you setting a variable at the top of the script if you aren't going to use it?

    of     1