of     1   

kakashi864
#15908464Tuesday, October 27, 2009 12:31 AM GMT

Can someone fix this for me? FallingBrick = script.Parent function onTouched(hit) wait(0.2) FallingBrick.Anchored = false FallingBrick.Material = Foil wait(4) FallingBrick.Anchored = true FallingBrick.Material = Slate end connection = LandMine.Touched:connect(onTouched) I'm not sure what happened at all. O.o Maybe the onTouched(hit) thing I could've gotten wrong. Message me if you fix it please, and thank you if you do.
tofwap
#15908566Tuesday, October 27, 2009 12:33 AM GMT

you need to run an index on it, connection = LandMine.Touched:connect(onTouched) SHOULD BE Game.Workspace.LandMine.Touched:connect(onTouched)
MtlMario64
#15908661Tuesday, October 27, 2009 12:34 AM GMT

the material names go in quotes, they are string values. "Foil" not Foil
turbodaze
#15908738Tuesday, October 27, 2009 12:35 AM GMT

FallingBrick = script.Parent function onTouched(hit) wait(0.2) FallingBrick.Anchored = false FallingBrick.Material = "Foil" wait(4) FallingBrick.Anchored = true FallingBrick.Material = "Slate" end connection = LandMine.Touched:connect(onTouched)
FoodTests
#15909512Tuesday, October 27, 2009 12:48 AM GMT

LandMine is a nil value.

    of     1