I get the yellow error: "Infinite Yield Possible" on line 1 of this script.
local MapSpawns = map:WaitForChild("Spawns"):GetChildren()
for i,v in pairs(MapSpawns) do
if v:IsA("Part") then
end
end
This is a chunk of my larger script.
If you have any questions feel free to ask me.

2 comments
Infinite yield as you may or may not know means the ability to wait forever with nothing happening, keeping your script stuck on that one WaitForChild. are you sure "Spawns" is spelled correctly and actually exists?
Thanks for the inspiration, map.Spawns isn't real, it is supposed to be map.SpawnLocations.Spawns. Thanks!