Update: SetPartCollisionGroup! What to do now?

Okay, I got it saying that line 30 is out of date, I read the article. But here’s the question, write what I wanted on line 30?
Снимок экрана 2023-01-15 в 02.39.32

3 Likes

I have the same issue right now and still don’t know how to fix it

1 Like

That’s easy to update.

just replace line 30 with

object.CollisionGroup = "Mob"
4 Likes

Instead of doing PhysicsService:SetPartCollisionGroup(instance, groupName), you can just do instance.CollisionGroup = groupName

2 Likes

:SetPartCollisionGroup() is deprecated and no longer works.


Like the other people here said, try using object.CollisionGroup = "Mob" instead.

1 Like

Okay, I replaced line 30, but now it all works, but the mobs still do not pass each other

1 Like

Okay, I replaced line 30, but now it all works, but the mobs still do not pass each other)

1 Like

Have you checked you’ve set the collisions correctly?

1 Like

That seems about right, doesn’t it? I need players and mobs to go through each other

2 Likes

If you did everything correctly, that’s pretty weird.

May I ask for a place file to test things myself? You can send it via private messages if you do not want to share it publicly. You don’t have to at all either! It will just make testing easy easier.

3 Likes