I want to know how to change a block from being anchored (stays in place) to not anchored (falls down) when a specific block touches it.
COMMUNITY QUESTION
How do I make a brick switch between anchored and not anchored?
1 answer
Use the Touched event.
local part = script.Parent
part.Touched:connect(function(hit)
if (hit.Name == "SpecificBrick") then -- A 'SpecificBrick' hit the part!
part.Anchored = false
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
