local PS = game:GetService("PhysicsService")
PS:CreateCollisionGroup("Player")
PS:CollisionGroupSetCollidable("Player","Player",false)
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character:WaitForChild("HumanoidRootPart")
Character:WaitForChild("Head")
Character:WaitForChild("Humanoid")
for i,v in pairs(Character:GetChildren()) do
if v:IsA("BasePart") then
PS:SetPartCollisionGroup(v,"Player")
end
end
end)
end)
https://gyazo.com/f8accc2ae6e7f33f2ebff8ee79b88353 How can I make this script work with the "bodyguard" or stand behind me?
