How do I make a brick fall when touched by a specific brick or touched by an explosion?
I'm struggling (since I'm not very good at scripting) to make a brick fall when it is hit by an explosion or touched by a specific brick.
I already have the script I need to make the brick become in-anchored when in contact with another brick, but I'm trying to make a script so that if it is hit by an explosion then it will also become in-anchored. Kind of like a 2 way situation, if it is touched by a specific brick then it will fall, or if it is hit by an explosion, before it touches the specific brick, then it will also fall.
1 | local part = script.Parent |
2 | part.Touched:connect( function (hit) |
3 | if (hit.Name = = "Meteor" ) then |