You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? is there possible to make Disabled player collisions but effect to dummy to ?
- What solutions have you tried so far?
local PhysicsService = game:GetService("PhysicsService")
players = PhysicsService:CreateCollisionGroup("Players")
PhysicsService:CollisionGroupSetCollidable("Players", "Players", false)
game. Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
repeat wait (1) until char:WaitForChild("Humanoid")
for _, characterPart in pairs (char:GetChildren()) do
if characterPart:IsA("BasePart") then
PhysicsService:SetPartCollisionGroup(characterPart, "Players")
end
end
end)
end)