I'm just wanting to break individual groups to inspect damage without destroying the parts i'm removing. I'm no programmer, so it's no surprise i couldn't make it work. How do I use it? Full function as it is written in beamstate.lua local function breakBreakGroup(g) if g == nil then return end -- hide props if they use props.hidePropsInBreakGroup(g) -- break all beams in that group local bg = breakGroupCache[g] if bg then breakGroupCache[g] = nil for _, bcid in ipairs(bg) do obj:breakBeam(bcid) luaBreakBeam(bcid) end end -- break all couplers bg = couplerBreakGroupCache[g] if bg then couplerBreakGroupCache[g] = nil for _, ccid in ipairs(bg) do obj:detachCoupler(ccid) end end --break triangle breakgroups matching the beam breakgroup bg = triangleBreakGroupCache[g] if bg then for _, ctid in ipairs(bg) do obj:breakCollisionTriangle(ctid) collTriState[ctid] = nil end triangleBreakGroupCache[g] = nil end end EDIT: figured out I was supposed to put beamstate before calling the function