Found the problem, it was workspace:GetPartBoundsInRadius crashing studio, nice job roblox.
workspace:GetPartBoundsInRadius