How do i make my npc character cancollide off without deleting is humanoid

How do i make my npc character cancollide off without deleting is humanoid? please help me

i tried this but its not working:

local PS = game:GetService("PhysicsService")

local char = script.Parent.Morph

PS:CollisionGroupSetCollidable(char, false)

local char = script.Parent.Morph

for i,v in pairs(char:GetChildren()) do

if v:IsA("BasePart") then

PS:SetPartCollisionGroup(v)

end

end

please someone help me i need help.

I’m sorry, can you clarify what you’re trying to do here? Do you not want the player to collide with other players? Or certain parts?

1 Like