This code makes studio freeze, and I have no idea why

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