game.Workspace.ChildAdded:Connect(function(added) if added:FindFirstChild("Code").Value == "MapNo3" or "MapNo2" or "MapNo1" then print("Map is succesfully generated") local players = game.Players:GetPlayers() wait(15) for i,v in pairs(players)do end else warn("Error ") end end)