I'm trying remove collision of my head to look same this: GIF
Current script
local Players = game:GetService('Players')
local PS = game:GetService('PhysicsService')
local PlayerGroup = PS:CreateCollisionGroup('Player')
PS:CollisionGroupSetCollidable('Player','Player',false)
function NoCollide(Character)
for i,v in next, Character:GetChildren() do
if v:IsA("BasePart") and v.Name == 'Head' then
PS:SetPartCollisionGroup(v,'Player')
end
end
end
Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(chr)
NoCollide(chr)
end)
end)
I got no errors

2 comments
Try to take away in line 8 the v:IsA("BasePart") because usually the classname of a head is a Part
not working yet