connectPart(center)connectPart(top)connectPart(bottom)connectPart(left)connectPart(right)connectPart(front)connectPart(back)function rebuildStud(k,q)k.CFrame=q k.Parent=beacon k:makeJoints()end
-- listen to touches from each part
connectPart(center)
connectPart(top)
connectPart(bottom)
connectPart(left)
connectPart(right)
connectPart(front)
connectPart(back)

function rebuildStud(stud, cf)
	stud.CFrame = cf
	stud.Parent = beacon
	stud:makeJoints()
end
