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