I put this script into another brick named "FF5". I want the FallingBrick to unanchor itself after I touch the FF5 brick. Can anyone help me?
print("FallingBrick Script Loaded")
FallingBrick = script.Parent.Parent.FallingBrick
function onTouched(hit)
local human = hit.Parent.findFirstChild()
if (human ~= nil) then
FallingBrick.CanCollide = false
FallingBrick.Anchored = true
wait(0)
FallingBrick.CanCollide = false
FallingBrick.Anchored = true -- change this to true to make it Anchored after it falls
end
connection = FallingBrick.Touched:connect(onTouched)
end
~Thank you for reading, Yeevivor4

1 comment
Thanks for helping! You're so freaking heplful!