Is there a way to get non collide parts with the touched event ? or there a other event for this ?
I did that but it didn't detect the parts.
local P = script.Parent
P.Touched:connect(function()
if P.CanCollide == false then
print("1")
else
print("0")
end
end)
Thanks

2 comments
you forgot a
endon your if statementOh yeah that was the problem thanks !