local S={}function getUnions(w)for w,J in pairs(w:GetChildren())do if J:IsA("\085\110\105\111\110\079\112\101\114\097\116\105\111\110")or J:IsA("\077\101\115\104\080\097\114\116")then table.insert(S,J)end getUnions(J)end end getUnions(workspace)game.Selection:Set(S)
--[[
	THIS GUIDE WILL HELP YOU FIX THE COLLISIONS WITH UNIONS AND MESHPARTS IN THE MAP.
	
	Run this script in the command bar to select all the Unions and MeshParts in the map.
	
	After that, go to the properties frame and set the CollisionFidelity property to "Hull"
	
	Then, set them back to "Default"
	
	You have fixed all union collisions.
	
	
	- Credit to Jester for original instructions
--]]

local unions = {}

function getUnions(root)
	for i, v in pairs(root:GetChildren()) do
		if v:IsA("UnionOperation") or v:IsA("MeshPart") then
			table.insert(unions, v)
		end
		getUnions(v)
	end
end

getUnions(workspace)

game.Selection:Set(unions)
