I'm trying to make the dummies collisions off but this script won't work. I modified a player collision script. The only error I got is - connect is not a valid member of Model
script
local ps= game:GetService("PhysicsService")
ps:CollisionGroupSetCollidable("p","p",false)
function NoCollide(model)
for k,v in pairs(model:GetChildren()) do
if v:IsA"BasePart" then
PhysService:SetPartCollisionGroup(v,"p")
end
end
end
workspace:WaitForChild("Dummy"):connect(function(Dummy)
Dummy.CharacterAdded:connect(function(char)
char:WaitForChild("HumanoidRootPart")
char:WaitForChild("Head")
char:WaitForChild("Humanoid")
wait(0.1)
NoCollide(char)
end)
if Dummy.Character then
NoCollide(Dummy.Character)
end
end)

1 comment
Connect is a method/function for things like a character model etc, since the dummy is not a character the :Connect function shouldn't be there!