Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I uncancollide a brick from the Touched() function of another brick?

Asked by 9 years ago
function hit()

    game.Workspace.DeathAxe.Roof.CanCollide = false

end

script.Parent.Touched:connect(hit)

Okay so just to make things clear the name of the model in which the bricks are in is called 'DeathAxe' and the bricks are called 'Axis' and 'Roof'. The script is in 'Axis' and is meant to make 'Roof' uncancollided when Touched. I'm not a big expert at this but any help appreciated thanks ^_^

Answer this question