game.PhysicsService:CreateCollisionGroup("Test")
game.PhysicsService:CreateCollisionGroup("Not")
game.PhysicsService:SetPartCollisionGroup(script.Parent, "Test")
game.PhysicsService:SetPartCollisionGroup(workspace.NEIN, "Not")
game.PhysicsService:CollisionGroupSetCollidable("Test", "Not", false)

print(script.Parent:CanCollideWith(workspace.NEIN))

Prints false, but still collides.

3 comments

0

No, it doesn't still collide. I tested it myself. You also never accepted my answer to your other question where you weren't using the right method.

0

Why not just turn off collisions with the button?

0

I don't think you understand how collisions work.