physicsService:CreateCollisionGroup("\067\104\097\114\097\099\116\101\114\115")physicsService:CollisionGroupSetCollidable("\067\104\097\114\097\099\116\101\114\115","\067\104\097\114\097\099\116\101\114\115",false)players.PlayerAdded:Connect(function(n)n.CharacterAdded:Connect(handleCharacter)end)for n,M in pairs(game.ReplicatedStorage.Enemys:GetChildren())do if M:IsA("\077\111\100\101\108")then handleNPcs(M)end end for n,M in pairs(game.ReplicatedStorage.Units:GetChildren())do if M:IsA("\077\111\100\101\108")then handleNPcs(M)end end

physicsService:CreateCollisionGroup("Characters")
physicsService:CollisionGroupSetCollidable("Characters", "Characters", false)

players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(handleCharacter)
end)

for i, v in pairs(game.ReplicatedStorage.Enemys:GetChildren()) do
	if v:IsA("Model") then
		handleNPcs(v)
	end
end

for i, v in pairs(game.ReplicatedStorage.Units:GetChildren()) do
	if v:IsA("Model") then
		handleNPcs(v)
	end
end
