I want to make so if someone touches it and has a certain name the part's can collide propertie will be false. Is this script good? ( Can't test it since I'm on the phone )
x = script.Parent
x.Touched:connect(function (Part)
if Part.Parent:FindFirstChild("Humanoid") ~= nil then
if Part.Parent.Name == "brokenrares"
x.CanCollide = false
wait(3)
x.CanCollide = true

2 comments
Tell me if it works when you get on your computer.
Them tabs.