Server Script

This is the code that should set it

for i,v in pairs(plr.Character:GetChildren()) do
	if v:IsA("BasePart") then
		pys:SetPartCollisionGroup(v,"d"..roomNumber)
	end
end

1 comment

0

Did you even define 'PhysicsService'?