Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make a brick anchor when it hits another brick?

I need to make an intro for a game and I want the brick to fall, hit a specific brick, and then anchor when it hits?

1 answer

brick_a = --Path of the brick you want to anchor
brick_b= --Path of The brick that brick_a should touch

brick_b.Touched:connect(function(a)
if a.Name == brick_a.Name then
brick_a.Anchored = true
end
end)

--Hope this helped!

This discussion is preserved as it was. New answers, comments, and votes are closed.